You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by greenbean <Ke...@ngc.com> on 2009/04/06 17:05:03 UTC

Custom ThreadPool For ActiveMQComponent

If I have this in Camel 2.0:
<camel:from uri="activemq:queue:routingIn?concurrentConsumers=5" />

Is it possible to specify the ThreadPool that is used for the
concurrentConsumers... to replace the DefaultMessageListenerContainer (as
shown below) thread pool for example?

2009-04-03 21:33:19,760 WARN  [org.apache.camel.component.jms.JmsProducer]
(DefaultMessageListenerContainer-509)
-- 
View this message in context: http://www.nabble.com/Custom-ThreadPool-For-ActiveMQComponent-tp22910646p22910646.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.


Re: Custom ThreadPool For ActiveMQComponent

Posted by greenbean <Ke...@ngc.com>.
It appears the taskExecutor property on the ActiveMQComponent is what I need.


greenbean wrote:
> 
> If I have this in Camel 2.0:
> <camel:from uri="activemq:queue:routingIn?concurrentConsumers=5" />
> 
> Is it possible to specify the ThreadPool that is used for the
> concurrentConsumers... to replace the DefaultMessageListenerContainer (as
> shown below) thread pool for example?
> 
> 2009-04-03 21:33:19,760 WARN  [org.apache.camel.component.jms.JmsProducer]
> (DefaultMessageListenerContainer-509)
> 

-- 
View this message in context: http://www.nabble.com/Custom-ThreadPool-For-ActiveMQComponent-tp22910646p22916240.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.