I tried using org.apache.activemq.camel.component.ActiveMQComponent and that
had the same issue. I've got it fixed by configuring like this:
<bean id="camelThreadPool"
class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
<property name="corePoolSize" value="1"/>
<property name="maxPoolSize" value="1"/>
</bean>
<bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
<property name="connectionFactory"
ref="jmsCachingConnectionFactory"/>
<property name="taskExecutor" ref="camelThreadPool"/>
</bean>
And referencing all my JMS endpoints as jms:queue:blahblah
Claus Ibsen-2 wrote:
>
>
> And you are using the JmsComponent. But for ActiveMQ we encurage you
> to use it's component
> http://activemq.apache.org/camel/activemq.html
>
> It's an extension for JmsComponent where it has properly configured it
> on the ActiveMQ platform.
>
> So use this class:
> org.apache.activemq.camel.component.ActiveMQComponent
>
> --
>
> /Claus Ibsen
> Apache Camel Committer
> Blog: http://davsclaus.blogspot.com/
>
>
--
View this message in context:
http://www.nabble.com/DefaultMessageListenerContainer-threading-issue-tp18811410s22882p21014555.html
Sent from the Camel - Users mailing list archive at Nabble.com.