Hi Use a custom poll strategy or enable the bridge error handler option.
On Fri, Sep 14, 2012 at 1:50 PM, Hilde <[email protected]> wrote: > Hello everybody! > > We have created a ftp consumer route dynamically as follow: > > > > The thing is the configured endpoint cannot handle the situation if the ftp > host is not connectable. The route cannot stop > because the onException section is not reached. The log file instead has > produced the following stack trace: > > > > Can someone please explain me how the ftp consumer route can stopped if a > UnknowHostException was thrown? Actually I was > convinced the endpoint options /maximumReconnectAttempts/ and > /throwExceptionOnConnectFailed/ would be in charge for that. > > We are using Apache Camel 2.10.0 > > Cheers > Hilde > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/FTP-Consumer-Handle-UnknowHostException-tp5719362.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
