On Tue, Dec 10, 2013 at 9:25 AM, talk2patel86
<[email protected]> wrote:
> I believe you are using camel file2 component. In that component you can set
>
>  *maxMessagesPerPoll *= number of file to be processed concurrently.
>
> Reference:
> http://camel.apache.org/file2.html
>

That options is to limit the total number of files per poll. Its not
about how many concurrent threads that can process files from the same
poll.

Take a look at the <threads> in the route

from file
   <threads ...>
      .. processing files concurrently.
   </threads>

>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Read-Multiple-files-or-using-concurrent-consumers-in-one-route-tp5744545p5744548.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to