On Sun, Oct 9, 2011 at 6:14 PM, diwakar <diwakar.j...@nsn.com> wrote:
> Hi,
>
>        <from uri="file:input"/>
>         <threads corePoolSize="10">
>         <log message="Copying ${file:name} to the output directory"/>
>         <to uri="file:output"/>
>         </threads>
>
>        With this we can have 10 threads for the logging and the file
> writing indpoints. But how to configure 10 threads for the poller
> (file:input)?
>        Please let me know your comment.
>

The file is a single threaded scheduled consumer, so you cannot
configure it to use more threads.
Using the <threads> is the way to increase concurrency on file processing.


> With Bets Regards,
> Diwakar
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Thread-pool-for-components-in-Camel-tp4722190p4885604.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