activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: How to monitor queue size programmatically?
Date Wed, 08 Sep 2010 12:54:10 GMT
Also checkout unit test, like this one

http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java?view=markup

to see how to do it programatically.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Wed, Sep 8, 2010 at 2:51 PM, Tracy Snell <tsnell@gmail.com> wrote:
> That info is exposed through JMX. Fire up jconsole and browse and you'll see it.
>
> On Sep 8, 2010, at 8:47 AM, Don Santillan wrote:
>
>> Hello,
>>
>> Is there a way to monitor or count the queue size programmatically?
>>
>> Can I see a sample code snippet?
>>
>> Thanks!
>> Don
>
>

Mime
View raw message