Hi Morgan,
Thanks for the quick reply.

I looked at the page you suggested and also tried with handler,
But the strange thing is:
I have another route in which i connect to ftp too. But that route works as
i expected and retryWhile predicate is checked. 

Predicate is considered:

     from("direct:start")
     .to("ftp://user@host?password=***&disconnect=true&binary=true";)


Predicate is not considered:

     from("ftp://user@host?password=***"; 
          + "&passiveMode=true&consumer.delay=10000&fastExistsCheck=true" 
          + "&consumer.bridgeErrorHandler=true" 
          + "&throwExceptionOnConnectFailed=true" )
     .log("");



--
View this message in context: 
http://camel.465427.n5.nabble.com/retryWhile-predicate-is-not-called-on-ftp-connection-failure-tp5762601p5762607.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to