activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Tarau <...@daxtechnologies.com>
Subject Re: Get Queue message count in 4.0
Date Fri, 05 May 2006 14:17:56 GMT
ActiveMQ RC2 doesn't have

org/apache/activemq/broker/region/Region.html#getDestinationMap()


James Strachan wrote:
> Its a little fiddly to do it without JMX, but you should be able to
> get a Map of all the destinations in a Broker
>
> http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/region/Region.html#getDestinationMap()
>
> which should return Destination objects in the values of each entry
> which have stats available
>
> http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/region/Destination.html
>
>
> On 5/5/06, Adrian Tarau <ady@daxtechnologies.com> wrote:
>   
>> I'm in the same VM, I don't want to activate JMX, can I access the
>> internal classes who provide this functionality?
>>
>> James Strachan wrote:
>>     
>>> JMX...
>>>
>>> http://activemq.org/JMX
>>>
>>> On 5/4/06, Adrian Tarau <ady@daxtechnologies.com> wrote:
>>>
>>>       
>>>> How can I get how many messages are in a queue with ActiveMQ, since with
>>>> JMS is not possible?
>>>>
>>>> Thanks.
>>>>
>>>>
>>>>         
>>> --
>>>
>>> James
>>> -------
>>> http://radio.weblogs.com/0112098/
>>>
>>>       
>>
>>     
>
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>   


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message