-
1. Question regarding JMX monitoring for the queue
ataylor Mar 3, 2011 6:12 AM (in response to rahul_516)am using org.hornetq.core.management.impl.QueueControlImpl for certain Attributes .
what is the difference between MessageCount , MessagesAdded , DeliveringCount and ScheduledCount ?
message count is al messages in the queue, including scheduled and delivered but not acked.
messages added is the number of message that have rrived on the queue since last restart
delivering count is messages delivered to the consumer but not yet acked
scheduled messages are, well scheduled messages.
Also i see MessageCount in org.hornetq.jms.management.impl.JMSTopicControlImpl too.
But i belive this is similar to QueueControlImpl messageCount, is it?
yes.
Also there are certain Message counters attached to <message-counter-enabled>true</message-counter-enabled> and JMSQueueControl .
Do i need to enable the settings even to make above message counters work?
no, message counters are separate functionality used for gathering more complex statistics.
-
2. Question regarding JMX monitoring for the queue
rahul_516 Mar 10, 2011 6:51 AM (in response to ataylor)When iam running Paging , my DurableMessageCount doesnt increase. Though my producer is able to send the messages to the Hornetq . We are using Paging . I can see that Paging directly is constantly increasing , so i belive Messages are getting paged.
Is there a counter to see how many messages are getting paged too?
-
3. Question regarding JMX monitoring for the queue
rhinmass May 2, 2011 9:29 AM (in response to rahul_516)rahul singh wrote:
Iam using JMX monitoring for monitoring the TOPICs and QUEUEs.
Iam using org.hornetq.core.management.impl.QueueControlImpl for certain Attributes .
Rahul, would you mind sharing how you were able to create a QueuControlImpl class. I'm having trouble figuring it out.
-
4. Question regarding JMX monitoring for the queue
clebert.suconic May 2, 2011 2:28 PM (in response to rahul_516)This was improved on HornetQ 2.2.2.
You would get the message cached at the Address Level before, and we have it with cursors now on HornetQ