camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <babak.vah...@swissonline.ch>
Subject Re: File componet start processing files
Date Mon, 23 Jan 2012 14:34:37 GMT
As Javadoc already states that your commit callback get's invoked *after*
each successfully completed *poll* of the directory (in your case
"file:/c:/myDirectory").

That's if something goes wrong while polling, whatsoever, then that's
instead your rollback() callback which gets invoked.

Babak

--
View this message in context: http://camel.465427.n5.nabble.com/File-componet-start-processing-files-tp5165723p5166221.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message