bsnyder wrote:
>
> On Tue, Sep 9, 2008 at 11:32 AM, Andruil <[EMAIL PROTECTED]>
> wrote:
>>
>> I'm trying to figure out how to get the JMS statistics mentioned
>> http://www.infoq.com/news/2008/05/activemq-5.1-release 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:
>
> http://markmail.org/search/?q=amqjmxexampletest.java#query:amqjmxexampletest.java+page:1+mid:us7q7dgdinp2sfo6+state:results
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
>
> Blog: http://bruceblog.org/
>
>
Thank you for your help. I'll take a deeper look into this.
--
View this message in context:
http://www.nabble.com/DestinationStatistics-tp19397314p19397773.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.