I am using the moveFailed option for a file, which its endpoint is
bean/method:

from("file://sourceFolder?filter=#MyFilesFilter&moveFailed=error&move=success").to("bean:myParserService?method=parse");

what type of failures - throw an exception or return false - should the
'parse' method returns in order for the file to move to the 'error' folder?

thanks,
Orit

--
View this message in context: 
http://camel.465427.n5.nabble.com/moveFailed-in-case-of-a-method-failure-tp4995001p4995001.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to