This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11570|Reply: 1

NumberOfPendingMessages, MessagesEnqueued, Messag...

[Copy link]
Posted on 7/30/2018 2:41:45 PM | | | |
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.





Previous:Gain an in-depth understanding of Javascrip{filter}t: the meta-mode of the design pattern
Next:Hi all{:1_7:}
 Landlord| Posted on 11/14/2018 10:07:55 AM |
Number Of Consumers  :Indicates the number of consumers;

Number Of Pending Messages :Waiting for consumption news, this is the number of people who are currently out of the queue;

Messages Enqueued :Messages entering the queue; (This amount will only increase, and will be cleared after restarting ACMQ)

Messages Dequeued :The queue message can be understood as the amount of consumption (it will be cleared after restarting ACMQ)
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com