camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From diwakar <diwakar.j...@nsn.com>
Subject Thread pool for components in Camel
Date Mon, 22 Aug 2011 05:14:48 GMT
Hi, 

         In Servicemix we can configure thread pools for components: 
servicemix.corePoolSize    = 32
servicemix.maximumPoolSize = 128
         In camel, how can I configure thread pool for components? From
documentation parallelProcessing, executorServiceRef options can be set to
configure thread pools. But these options do not exist for all components. 
<route>
<from uri="file:input"/>
<log message="Copying ${file:name} to the output directory"/>
<to uri="file:output"/>
</route>
          In the above example, how can I configure thread pool for file
component to have multiple threads to poll the "input" folder?
          Please let me know your comment.

With Best Regards,
Diwakar


--
View this message in context: http://camel.465427.n5.nabble.com/Thread-pool-for-components-in-Camel-tp4722190p4722190.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message