Just an idea:

- before pooling, create a file with specified name, for example
/TEST-POOLING/ and skip this file while processing. If there is only test
file in directory, you will get /CamelBatchComplete/.

- simpler: before starting the route, check if there is any file in
particular directory :-)



--
View this message in context: 
http://camel.465427.n5.nabble.com/Polling-consumer-how-to-recognize-an-empty-directory-tp5716761p5716762.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to