Yeah your code snippet seems reasonable to me and is one possible way to go for it.
Of course the best way to verify it, is to use Camel test toolkit [1] and check if it does functionally what you expect it to do. [1] http://camel.apache.org/testing.html Babak -- View this message in context: http://camel.465427.n5.nabble.com/File-consumer-waiting-for-it-to-start-tp5455062p5456174.html Sent from the Camel - Users mailing list archive at Nabble.com.