On Thu, Apr 21, 2016 at 11:16 PM, arunkabraham <arunk2...@gmail.com> wrote: > I didnt understand properly. Was I doing some mistake?
You attempt to stop the JMS consumer from the same thread that consumed the message, eg spring-jms do not support this, and goes into an endless loop. You need to use a separate thread to stop the consumer, eg call unsubscribe from another thread. > With the new version it will be resolved? The next release will use a background thread to unsubscribe/stop consumer for you, so you dont have to worry about that. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-rx-is-not-releasing-the-ActiveMQ-connection-once-the-subscription-is-complete-tp5781482p5781512.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2