Assuming that the messages that were "stuck" in a delivering state were actually being consumed by a stalled client then you should be able to return those messages to a non-delivering state by disconnecting the corresponding client. There are a handful of JMX operations to close client connections.
Justin ----- Original Message ----- From: "abhijith" <topcoderabhij...@gmail.com> To: users@activemq.apache.org Sent: Friday, September 16, 2016 12:17:18 AM Subject: [Artemis] Messages stuck in "Delivering" state infinitely Hi, We found that few messages were not getting delivered by Artemis. When we ran count-messages using JMX it was returning correct number of messages on queue. But listMessages was returning empty. Then listDeliveringMessages showed all the messages. But messages were stuck in this state infinitely. Had to restart Artemis to get messages back on to the queue. Is there any way to move messages which are stuck out of delivering state? I could not find any JMX operation for this. Thanks Abhi -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-Messages-stuck-in-Delivering-state-infinitely-tp4716589.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.