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.


----- Original Message -----
From: "abhijith" <>
Sent: Friday, September 16, 2016 12:17:18 AM
Subject: [Artemis] Messages stuck in "Delivering" state infinitely


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.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

Reply via email to