Hi Dejan,

Thanks for ur reply.
I tried to make use of Advisory messages to get the Producer and Consumer
ID's. I also was able to get the destination name.
But I am not able to get the enqueue count and dequeue count for that
destination (queue / topic). 
There is a class called 'DestinationStatistics' under
org.apache.activemq.broker.region.
In this class, there are methods such as 'getEnqueues', 'getDequeues' and
'getMessages'. But neither the constructor of this class nor the methods in
the class are accepting any parameters such as 'Queue Name' / 'Topic Name'.
How can i make use of this class to fetch the above mentioned details for a
particular queue or topic? 
I also went thru the Interceptors pages mentioned by you in ur reply, but
still I am not able to figure out how do I get the enqueue and dequeue count
of messages as well as the average size of messages that too on an hourly
basis.

Regards,
Schumi

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Interceptors-tp3338917p3339039.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to