camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raf <>
Subject Input directory with multiple file consumers
Date Thu, 31 May 2012 14:04:06 GMT

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.

I have a working camel (2.7.1) application that processes zip files placed
in an input folder. The application runs on a single Unix machine. 


Since the workload is gradually increasing and the processing is quite cpu
and memory intensive, it doesn't make sense to loadbalance within the camel
context. Rather I want to deploy the application on multiple machines.

But testing this setup I see that the different machines start processing
the same files and ignoring the .camelLock from the other application. Or
errors that files are missing (meaning already processed by the other
machine). Is there a combination of options to prevent this or do I need to
put some sort of broker between the file consumer and the processing?

Kind regards,

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message