ActiveMQ: One Pending Message but Queue is empty

两盒软妹~` 提交于 2019-12-24 02:49:46

问题


I have a strange problem with ActiveMQ. I have a queue that seems to have a pending message, but when I open the queue, there is no message.

What is wrong here? Is there really a message pending? How can I bring the message back or at least see the content?

Screenshot of the pending message:

Screenshot when opening the queue, which is empty:

EDIT: Just found these two bugs of ActiveMQ 5.6.0. Can this be the source of that problem?

Incorrect reporting of pendingQueueSize of durable subs after reconnect with unacked

Problem in OrderPendingList can lead to message not being deliver after durable sub reconnect.


回答1:


So I updated to ActiveMQ 5.7.0 quite some time ago and didn't had this bug anymore since. So I'd say my problem was due to these bugs here:

Incorrect reporting of pendingQueueSize of durable subs after reconnect with unacked

Problem in OrderPendingList can lead to message not being deliver after durable sub reconnect.



来源:https://stackoverflow.com/questions/13470017/activemq-one-pending-message-but-queue-is-empty

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!