git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What does “Messages Dequeued” mean on ActiveMQ web console page?


I’m using ActiveMQ v5.10.0, and on the web console page I can see two columns
named “Messages Enqueued” and “Messages Dequeued” for BOTH queue and topic.
I’m clear on what these two columns mean for queue, but confused on that for
topic. Because after a message enqueued into a topic, this message will be
“dequeued” multiple times depending on the count of subscribers of this
topic, and a live subscriber may die for some reason, or some new subscriber
may join at some time later.

*Picture_1: Message Dequeued for topics*
<http://activemq.2283324.n4.nabble.com/file/t379075/1_topic_enqueue_dequeue.png> 

*Picture_2: Subscriber of customerMessageSendToCA*
<http://activemq.2283324.n4.nabble.com/file/t379075/2_subscriber_consume_message_successfully.png> 

*Picture_3: Subscriber of ReceptionCustomerInfoEmit*
<http://activemq.2283324.n4.nabble.com/file/t379075/3_subscriber_consume_message_successfully.png> 


*Question 1:*
Does “Messages Dequeued” mean the total times that all the enqueued messages
had ever been dequeued?

*Question 2:*
As the picture 1 shows, "Messages Dequeued" is 0 for
"topic.mob.chat.customerMessageSendToCA", but NOT 0 for
"topic.mob.chat.ReceptionCustomerInfoEmit"
As the picture 2&3 show, "topic.mob.chat.customerMessageSendToCA" has two
subscribers which are both durable, and
"topic.mob.chat.ReceptionCustomerInfoEmit" has two subscribers which are
both non-durable

Why "Messages Dequeued" is *0 or NOT 0*, does it have something to do with
durable/non-durable subscriber?


I had ever posted it on stackoverflow, but no replies at all.
https://stackoverflow.com/questions/50479472/what-does-messages-dequeued-mean-on-activemq-web-console-page

Really appreciate it if someone could solve my puzzle, great thanks in
advance 



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html