When you get the message count for an address it sums the message count for all 
the queues bound directly to that address.  In the case of a multicast address 
that would be, for example JMS subscriptions, explicitly configured queues 
(from broker.xml), etc.  This does not include queues receiving messages sent 
to the address via a divert.  Therefore, if you don't have any queues 
specifically bound to the address then I would expect a 0 message count.


Justin

----- Original Message -----
From: "abhijith" <topcoderabhij...@gmail.com>
To: users@activemq.apache.org
Sent: Tuesday, June 6, 2017 8:56:13 PM
Subject: Artemis Address Message Count

Hi,

We are monitoring Artemis via JMX.  We have a topic(address with multicast)
which has a divert to a queue.  If I send messages to this address messages
gets diverted correctly to queue.  But if I query address mbean both
messageCount and noOfMessages is 0.  

Is this expected?  I think address should have messageCount regardless of
queue or a divert associated with it.  Currently I cannot get no of messages
sent to an address.  The only way I can get it is to pull binding names and
loop through them.





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Artemis-Address-Message-Count-tp4727127.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to