Hello, This scenario mostly tell that your consumer consume the message but it didn't ack to the broker.You can regenerate this issue by Junit/Jmeter where you have large number of threads publishing message.
Try to print the MessageId in the logs and check the messageId is the same as activemq's console pending message. If yes it means consumer consumed the message but didn't ack. to broker and it lays always in pending stage even you restart the activemq. -- View this message in context: http://activemq.2283324.n4.nabble.com/One-Pending-Message-but-Queue-is-empty-ActiveMQ-5-12-0-tp4715720p4715730.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.