camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CamelPiglet <plus.denis.iva...@gmail.com>
Subject How to move file to "error" directory with camel-ftp?
Date Wed, 20 Aug 2014 13:15:42 GMT
Hi.
I am new to Apache Camel and my question is very similar to
http://stackoverflow.com/questions/10919874/how-to-move-file-to-error-directory-and-rollback-other-move-with-apache-camel
. Since camel-ftp doesn't support moveFailed, I use onException to copy file
to a specific folder. But since move option is enabled in my consumer I end
up with two copies of file that causes error - one in "error" folder and one
in "done" folder. 
What is the best way to achive the same behavior as File component?



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-move-file-to-error-directory-with-camel-ftp-tp5755438.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message