Hi
Did you have a change to set the activemq endpoint option of
concurrentConsumers like this?
<camel:from uri="activemq:queue:MyQueue?concurrentConsumers=10"/>
On Tue Feb 14 18:21:14 2012, shlomi java wrote:
hi Forum,
I'm trying to do a simple route, consuming from a JMS queue and
handling several messages in parallel by some Bean.
It's a simple <from uri="activemq:queue:MyQueue"/><threads
executorServiceRef="myPool"><bean beanType="org.Executer" /></threads>
route. camel-context.xml is attached.
Well, it does not work...
The queue has several messages in it, debugging in eclipse I see some
JMS Consumers, but only a single "Camel Cool" thread (that's the name
I give to the threads in the XML), causing the messages to be
processed one by one.
What's wrong? where can be the problem?
Is it the ActiveMQ broker? JMS configuration?
I'm using ActiveMQ 5.5.1, Camel 2.8.1. Java 6, on a 32 bit Windows 7
computer.
thanks for any help,
ShlomiJ
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang