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.
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
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
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
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
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.
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
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.
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
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.
10 matches
Mail list logo