Re: catch error in producer endpoint

2009-10-13 Thread parasmk
ts a thinking shift from standalone programming to router programming. :confused: Thanks! -- View this message in context: http://www.nabble.com/catch-error-in-producer-endpoint-tp25748604p25868012.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: catch error in producer endpoint

2009-10-12 Thread Claus Ibsen
tire route, which I do not want. > You cannot continue to the next process as there are NO data. You are trying to get some data from the remote FTP server but you cannot get data. Its like trying to route from a JMS queue in which you cannot connect to. And btw what do you want to happen in MyAudit

Re: catch error in producer endpoint

2009-10-12 Thread parasmk
return false it just keeps polling and does not proceed to .process(). Is this expected? If I do a consumer.stop() it stops the entire route, which I do not want. Thanks again for your continued help! -- View this message in context: http://www.nabble.com/catch-error-in-producer-endpoint-tp257

Re: catch error in producer endpoint

2009-10-11 Thread Claus Ibsen
th seconds. The delay is in millis. > > If you want to stop the ftp consumer totally you need to stop the route > instead. You can do this by invoking stop() on the consumer boolean rollback(Consumer consumer, Endpoint endpoint, int retryCounter, Exception cause) throws Exception

Re: catch error in producer endpoint

2009-10-10 Thread Claus Ibsen
hange this interval by setting a delay on the FTP endpoint, to ex ?delay=6 to poll once every 60th seconds. The delay is in millis. If you want to stop the ftp consumer totally you need to stop the route instead. > -- > View this message in context: > http://www.nabble.com/cat

Re: catch error in producer endpoint

2009-10-09 Thread parasmk
going -- View this message in context: http://www.nabble.com/catch-error-in-producer-endpoint-tp25748604p25828094.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: catch error in producer endpoint

2009-10-08 Thread Claus Ibsen
ll strategy on the ftp consumer and >> decide what to do in case of FTP server errors. >> >> >> > > -- > View this message in context: > http://www.nabble.com/catch-error-in-producer-endpoint-tp25748604p25799418.html > Sent from the Camel - Users ma

Re: catch error in producer endpoint

2009-10-08 Thread parasmk
ftp consumer and > decide what to do in case of FTP server errors. > > > -- View this message in context: http://www.nabble.com/catch-error-in-producer-endpoint-tp25748604p25799418.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: catch error in producer endpoint

2009-10-07 Thread Claus Ibsen
g/polling-consumer.html You can then configure your own poll strategy on the ftp consumer and decide what to do in case of FTP server errors. > THANKS! > > ~Paras > -- > View this message in context: > http://www.nabble.com/catch-error-in-producer-endpoint-tp25748604

catch error in producer endpoint

2009-10-05 Thread parasmk
rrors produced after the message enters the exchange i.e. after from(). Can you please suggest a way? THANKS! ~Paras -- View this message in context: http://www.nabble.com/catch-error-in-producer-endpoint-tp25748604p25748604.html Sent from the Camel - Users mailing list archive at Nabble.com.