On Fri, Sep 14, 2012 at 4:51 PM, Hilde <[email protected]> wrote: > Hello Claus! > > For your approaches I was very glad. The option > /consumer.bridgeErrorHandler=true/ was exactly what I was looking for. > However the onException(Exception.class) inside the ftp consumer route is > not reached! I don't know why. >
Have you enabled the throwExceptionOnConnectFailed=true option on the ftp endpoint. > When I would follow your poll strategy approach I would have to do the > validation to the ftp server for my own inside the begin() method of > PollingConsumerPollStrategy. The validation there would be not exactly the > same as it was original initiated via camel ftp. > Therefore the test doesn't reflect the reality. > > Cheers > Hilde > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/FTP-Consumer-Handle-UnknowHostException-tp5719362p5719375.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
