Hi,

I have 2 routes RouteA and RouteB - each in their own camel context and each
consuming message from the same JMS ActiveMQ Queue, but at any time only one
route is up and running.

1) RouteA is started by default as the app server comes up
2) I SUSPEND RouteA and start RouteB.
3) RouteB consumes all the messages from the JMS ActiveMQ Queue. I verify
this by confirming that the Queue size is zero via JMX.
4) I RESUME ReouteA and stop RouteB.
5) The messages already consumed by RouteB are now consumed again by RouteA.
But the JMS Queue size is zero. Are they consumed from KahaDB.? How do I
make the resumed RouteA NOT to consume those messages again.?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-routes-2-routes-consuming-message-from-the-same-JMS-Queue-tp5737434.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to