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 <tsn...@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
>
>

Reply via email to