activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Co <...@exist.com>
Subject Re: Newbie Question: how to connect to MBeanServer with my ActiveMQ broker running stand-alone.
Date Thu, 07 Dec 2006 19:22:10 GMT
You start here: 
http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial/tutorialTOC.html

samahome wrote:
> Sure. I am able to connect using jconsole.
>
> But What i need is to programatically connect to MBeanServer and to obtain
> the broker statistics and to find the amount of messages per priority
> waiting to be sent to the consumer by broker. 
>
> Any other approaches i should be looked at ?
>
> Any help on this would greatly appreciated.
>
> - Sreenivas
>
>
>
>
> pradeep wrote:
>   
>> Use jconsole to connect from commane line. Check the ActivceMQ docs for
>> more info.
>>
>> pradeep
>>
>>
>>
>> samahome wrote:
>>     
>>> Could you give some example on how to connect to the MBean Server  and
>>> get the broker MBean instance ? 
>>>
>>> My activeMQ broker is running in stand-alone mode (not embedded broker). 
>>>
>>> The URI for my broker is tcp://localhost:61616
>>>
>>>
>>> - Sreenivas 
>>>
>>>       
>>     
>
>   


Mime
View raw message