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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
待处理消息 = 当前在目标中等待传递的消息数(队列的当前大小)
排队消息 = 自上次统计重置以来在目标中排队的消息数。这个数字只会上升。
出队消息 = 从目的地传递给消费者的消息。如果消息被传递给多个使用者(主题),则该数字可能高于排队消息的数量。
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).
入队消息 = 自服务器启动以来发送到队列的消息数
出队消息 = 自服务器启动以来接收+删除的消息数
Messages Enqueued = Number of messages sent to the queue since the server start
Messages Dequeued = Number of messages received+deleted since the server start