You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Mohd Anas <an...@gmail.com> on 2015/09/08 09:21:45 UTC

Multiple consumers of a same directory

Hi,

I have a setup where multiple consumers in fabric cluster (file component)
are consuming files from a same directory.

I always get file not found exception in logs as all the consumers try to
process the files, but only one succeeds.

Please suggest a possible way to resolve this.



Thanks.




--
View this message in context: http://camel.465427.n5.nabble.com/Multiple-consumers-of-a-same-directory-tp5771323.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Multiple consumers of a same directory

Posted by Jonathan Schoreels <jo...@gmail.com>.
Instead of having multiple consumers for one file, why not just use the Load
Balancer Pattern of Camel ?

http://camel.apache.org/load-balancer.html



--
View this message in context: http://camel.465427.n5.nabble.com/Multiple-consumers-of-a-same-directory-tp5771323p5771358.html
Sent from the Camel - Users mailing list archive at Nabble.com.