activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Query the number of messages from a Queue
Date Wed, 29 Mar 2006 16:17:03 GMT
On 3/29/06, Adrian Tarau <ady@daxtechnologies.com> wrote:
> I didn't say that JMX is a bad approach(JMX is great), just I image  a
> simple java  call, ActiveMQManager.getMessagesCount(Queue queue) do to
> the job.

You can look up all of these interfaces in JMX and use them as a POJO...

http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/jmx/package-summary.html

e.g.

http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/jmx/DestinationViewMBean.html

> I'm in 3.2.2, so could you be more specific, where I can find the stats?

There are none in 3.x; this is why we've been working on 4.x for the
past year to add all of these stats :)

--

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message