I also thought so, but creating the ConnectionFactory repeatedly has caused the issues for me. It is very easy to reproduce. Just put the creation of ConnectionFactory in a loop and send messages from the connections obtained. You will be able to reproduce if my observation is correct with ActiveMQ 5.8
Thanks Pramod -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-pending-state-in-queue-tp4669239p4669390.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.