That's exactly how I have it in my code. It's picking the file from the directory when it exists so the file path is correct. But the issue is its waiting forever for the file, when the file doesn't exist, instead of waiting until timeout and exiting out.
-- View this message in context: http://camel.465427.n5.nabble.com/PollEnrich-timeout-not-working-tp5759329p5759331.html Sent from the Camel - Users mailing list archive at Nabble.com.