26

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?

Akhil Jain
  • 13,872
  • 15
  • 57
  • 93
Srinivas
  • 1,383
  • 5
  • 20
  • 28

2 Answers2

55

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

enkara
  • 6,189
  • 6
  • 34
  • 52
Laures
  • 5,389
  • 11
  • 50
  • 76
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

SK Singh
  • 119
  • 1
  • 4