> Is there a way to monitor the same input folder from camel applications on different machines? I am wondering what the best practice is on handling this situation.
Since you logged an issue for this, you might want to know that I found a workaround. If you add the parameters preMove=processing&maxMessagesPerPoll=1 then multiple servers can work on the same camel folder. Without maxMessagesPerPoll=1, camel will scan all files in the folder and then process them one by one. This will give errors when another server has already processed the file while this server still thinks it needs to be processed. This is no longer possible when maxMessagesPerPoll=1 is used. Without preMove=processing, the different servers will want to lock the same file, only one gets the lock and the others are waiting to lock the same file. With preMove=processing, each server will pick up a different file because they no longer see the files locked by other servers. Regards, Raf -- View this message in context: http://camel.465427.n5.nabble.com/Input-directory-with-multiple-file-consumers-tp5713788p5716340.html Sent from the Camel - Users mailing list archive at Nabble.com.