Difference between Pending Messages and Enqueue Counter in Active MQ?

前端 未结 2 1438
梦谈多话
梦谈多话 2021-02-02 11:11

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 bot

相关标签:
2条回答
  • 2021-02-02 11:12

    Messages Enqueued = Number of messages sent to the queue since the server start

    Messages Dequeued = Number of messages received+deleted since the server start

    0 讨论(0)
  • 2021-02-02 11:18

    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).

    0 讨论(0)
提交回复
热议问题