Yes, it works now. I thought if the file is empty, the body will be null. Apparently, there is difference between no file and empty file.
Thanks for your help. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-check-if-the-file-waiting-in-enricher-arrived-after-timeout-tp5753654p5753731.html Sent from the Camel - Users mailing list archive at Nabble.com.