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.
