Hi You need to implement http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/ThreadPoolFactory.html and then configure camel to use your impl on the ExecutorServiceManager
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/ExecutorServiceManager.html#setThreadPoolFactory(org.apache.camel.spi.ThreadPoolFactory) The latter can be auto detected by Camel if you in the Spring XML file just define your custom thread pool factory. As these bean types can do that: http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html On Tue, Feb 21, 2012 at 3:11 AM, achalam <[email protected]> wrote: > Hi, > We are using camel 2.9 with Springframework3.0.4 and Websphere 7.1 . How do > we configure, the camel, so that we use the managed threads in the > application. I know the configuration in spring, to use the workmanager, but > somehow, not able to understand how it is done in the context of camel. > > Thanks, > Adi > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Thread-pool-for-Camelcontext-tp470625p5500895.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
