Active MQ中待处理消息和入队计数器之间的区别? [英] Difference between Pending Messages and Enqueue Counter in Active MQ?
问题描述
在Active MQ管理控制台中,待处理消息数"和入队消息"之间有什么区别?将消息放入队列时,这两个值是否应该匹配?
In the Active MQ Admin console of what is the difference between "Number Of Pending Messages" and "Messages Enqueued"? When a Message is placed on to the queue, should both these values should match?
推荐答案
待处理消息=当前正在目的地中等待传递的消息数(队列的当前大小)
pending messages = number of messages CURRENTLY waiting for delivery in the destination (the current size of the queue)
入队消息=自上次统计信息重置以来在目的地入队的消息数.这个数字只能上升.
enqueued messages = number of messages that where enqueued in the destination since the last statistic reset. This number can only rise.
出队消息=从目标传递到使用者的消息.如果将一条消息传递给多个使用者(主题),则此数目可以比排队消息的数目高.
dequeued messages = messages delivered from the destination to consumers. this number can be higher that the number of enqueued messages if a message was delivered to multiple consumers (topics).
这篇关于Active MQ中待处理消息和入队计数器之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!