If you switch your acknowledgement mode to AUTO_ACKNOWLEDGE and comment out your call to message.acknowledge(), does the behavior change? Client ack mode isn't very widely used, so it's possible there's a bug in the interaction between it and failover.
Also, in your original post, you said that threads were blocked, and provided a screenshot to illustrate why you thought that. That thread is an idle thread in a thread pool, and it's blocked because there's not enough work to keep all the threads busy, not because anything is wrong or because ActiveMQ threads are being prevented from running. Tim On Sep 21, 2016 10:33 AM, "akhil" <akh...@gmail.com> wrote: > Hi Tim , > > I am sorry that one was the outdated consumer , I have changed it long time > back and forgot to update the gist. Yes i have tried yourway but the same > result. > > Thanks, > Akhil. > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/JMS-exception-during-the-Failover-tp4716047p4716706.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >