camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oritush <orit.liber...@jumptap.com>
Subject moveFailed in case of a method failure
Date Tue, 15 Nov 2011 17:14:52 GMT
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.

Mime
View raw message