On Thu, Jul 14, 2011 at 3:02 PM, divanmostert <divan.most...@c24.biz> wrote:
> Hi Claus,
>
> I can see why it is bad to have multiple Endpoints consuming files from the
> same directory, but if they are restricted to load a single file each, then
> surely that should be ok. Each file will only be picked up once, so no
> threading issues.
>
> I also can't just have one endpoint to load all files from a directory,
> cause I'm only interested in a subset and each will have to follow a
> specific route.
>
>

If the endpoints have different uri, then you should be able to run
with multiple routes.


> Its generally bad practice to have concurrent consumers compete for
> the same files.
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Loading-multiple-files-from-the-same-directory-tp4585994p4586541.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to