camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From divanmostert <>
Subject Re: Loading multiple files from the same directory
Date Thu, 14 Jul 2011 13:02:42 GMT
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.

Its generally bad practice to have concurrent consumers compete for
the same files.

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

View raw message