-
1. Re: Catch exception in camel producer endpoint
oisin Oct 7, 2009 11:48 AM (in response to parasmk)I need to transfer files from a FTP server to a local directory and know if the server is down and if so retry every 10 minutes
Depending on the FTP component implementation, it may not produce exceptions
when the connect fails - this is a kind of a low-level detail of operation that's
not available to the route as whole, because it doesn't related to the processing
of the exchange.
The FTP2 component does allow you
to specify max number of reconnects and delay between reconnects, and
this might work for you, e.g add &maximumReconnectAttempts=0&reconnectDelay=600000 to continue retrying with a delay of 10 minutes before reconnecting again.
-
2. Re: Catch exception in camel producer endpoint
parasmk Oct 13, 2009 2:56 AM (in response to oisin)I received an answer to this questions here: http://www.nabble.com/forum/Reply.jtp?post=25854162
Thank you Camel community!