NumberOfPendingMessages, MessagesEnqueued, and MessagesDequeued in the activemq dashboard
Number Of Consumers This is the number of consumers on the consumer side
Number Of Pending Messages This is the number of messages that are currently not in the queue. It can be understood as the total number of receivers - the total number of exit queues Messages Enqueued The total number of messages entering the queue, including those out of the queue. This number is only increasing Messages dequeued can be understood as the consumption of the quantity consumed This should be understood in two situations In queues it is equal to the total number of queues (because a message is only successfully consumed once), if it is temporarily not waited because the consumer has not had time to consume. In topics, the number will be higher than the number of queues due to the number of consumers. A simple understanding of the above meaning is When a message enters this queue, the message waiting to be consumed is 1, and the message entering the queue is 1. When the message is consumed, the message waiting for consumption is 0, the message entering the queue is 1, and the message leaving the queue is 1. When a message comes, the message waiting for consumption is 1, and the message entering the queue is 2.
When there are no consumers, the number of Pending Messages is the same as the number of queues When there are consumers who consume, the pedding will decrease and the queue will increase In the end, there are as many people in the queue as there are out By analogy, messages entering the queue and messages leaving the queue are pools, and messages waiting to be consumed are streams.
|