camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From parasmk <para...@gmail.com>
Subject catch error in producer endpoint
Date Mon, 05 Oct 2009 10:53:06 GMT

I am trying to pull files from a FTP server (my producer):

from("ftp://some@localhost?password=secret...")
.to("file://tmp?noop=true");

Now, I want to catch errors in the FTP endpoint (invalid login, server down,
etc). I have tried errorHandler() but it only catches the errors produced
after the message enters the exchange i.e. after from().

Can you please suggest a way? I'm using Camel 2.0

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.


Mime
View raw message