Difference between Pending Messages and Enqueue Counter in Active MQ?
Asked Answered
G

2

27

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?

Gerick answered 16/10, 2011 at 17:41 Comment(0)
P
56

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

Perak answered 18/10, 2011 at 14:43 Comment(0)
S
0

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

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

Shaunda answered 23/8, 2020 at 17:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.