Not with filter but I can check file name in some processor. "sendEmptyMessageWhenIdle" is almost the same idea but is automatic and doesn't produce message when files are in the directory. It is of course better solution.
-- View this message in context: http://camel.465427.n5.nabble.com/Polling-consumer-how-to-recognize-an-empty-directory-tp5716761p5716781.html Sent from the Camel - Users mailing list archive at Nabble.com.