You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by samahome <sr...@boeing.com> on 2006/12/06 19:55:19 UTC

Newbie Question: how to connect to MBeanServer with my ActiveMQ broker running stand-alone.

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 
-- 
View this message in context: http://www.nabble.com/Newbie-Question%3A-how-to-connect-to-MBeanServer-with-my-ActiveMQ-broker-running-stand-alone.-tf2770007.html#a7725455
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Newbie Question: how to connect to MBeanServer with my ActiveMQ broker running stand-alone.

Posted by Adrian Co <ac...@exist.com>.
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 
>>>
>>>       
>>     
>
>   


Re: Newbie Question: how to connect to MBeanServer with my ActiveMQ broker running stand-alone.

Posted by samahome <sr...@boeing.com>.
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 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Newbie-Question%3A-how-to-connect-to-MBeanServer-with-my-ActiveMQ-broker-running-stand-alone.-tf2770007.html#a7734849
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Newbie Question: how to connect to MBeanServer with my ActiveMQ broker running stand-alone.

Posted by pradeep <pr...@gmail.com>.
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 
> 

-- 
View this message in context: http://www.nabble.com/Newbie-Question%3A-how-to-connect-to-MBeanServer-with-my-ActiveMQ-broker-running-stand-alone.-tf2770007.html#a7734130
Sent from the ActiveMQ - User mailing list archive at Nabble.com.