activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <>
Subject Re: DestinationStatistics
Date Tue, 09 Sep 2008 17:37:31 GMT
On Tue, Sep 9, 2008 at 11:32 AM, Andruil <> wrote:
> I'm trying to figure out how to get the JMS statistics mentioned
> here  but I'm running
> around in circles trying to figure out how to access it.  As far as I can
> tell the info I want is located in the DestinationStatistics class but I
> cannot figure out how to get it populated.
> It seems to me that I need a broker.region.Destination but so far all I can
> seem to find is a javax.jms.Destination from the ActiveMQQueue.
> Sigh I know what I want (Statistics / Queue Statistics) and I know it is
> possible but I am more than a bit lost as to how to get those statistics.
> Any help would be appreciated.

These statistics are published via the JMX instrumentation. You can
view them using any JMX tool like Jconsole or you can access them
programmatically using the JMX APIs. I've published an example of how
to use the JMX APIs here:

perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"

Apache ActiveMQ -
Apache Camel -
Apache ServiceMix -


View raw message