you are getting duplicates because the topic has up to 10 concurrent
consumers based on your jmsConfig...

so should either change the jmsConfig (used by all routes) or explicitly set
these on any routes in question...

from("activemq:topic:xmlOrders?maxConcurrentConsumers=1&concurrentConsumers=1")
.to("activemq:accounting"); 


rogelio_sevilla1 wrote:
> 
> thanks for the answer Mr. Pham, I've commented my "concurrent configs" on
> my spring file and I've done it the way you propose:
> 
> 
> from("activemq:topic:xmlOrders").to("activemq:accounting?concurrentConsumers=5");
>  
> 
> 
> Thanks for the advice. However, the  activemq:accounting queue is still
> getting the message more than once, is this the normal behavior of the
> concurrentConsumers config???
> 


-----
Ben O'Day
IT Consultant -http://consulting-notes.com

--
View this message in context: 
http://camel.465427.n5.nabble.com/concurrentConsumers-basic-question-tp4535789p4537024.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to