Hi,

found the error, the code generating proxied address removes the other 
parameters (throwExceptionOnConnectFailed)

Regards Robin

-----Ursprüngliche Nachricht-----
Von: Lutter, Robin 
Gesendet: Freitag, 17. Januar 2014 09:23
An: users@camel.apache.org
Betreff: Login/Error while connecting to invalid ftp adress through socks proxy

Hi,

we have a simple route to get files from ftp server with an error in server 
address:
onException(GenericFileOperationFailedException.class,
IOException.class)
      .process(new FileProtokollErrorProcessor())
                .handled(true)
                .to("direct:error");
from("ftp://unknown-host.vv?password=secret&username=user";).
to("direct:work")

we get expected exception, but while connecting through proxy, route is polling 
for ever:
from("ftp://proxy:8021?password=secret&username=user%40unknown-host.vv";)
.to("direct:work")

WARNING: Cannot connect/login to: ftp://u...@unknown-host.vv@proxy:8021.
Will skip this poll.

I thought it is related with:
https://issues.apache.org/jira/browse/CAMEL-6551
updating to 2.11.2 does not really help, only warn messages are gone. 
The Exceptionhandler is never called an route tries polling, am I missing 
something or is it a bug?

Regards Robin

Reply via email to