activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AndrewB <a.bourgeois....@gmail.com>
Subject Get list of connections through JMX?
Date Thu, 15 Sep 2011 13:12:08 GMT
Hello

how do I get the list of the connections to the OpenWire connector?
JConsole is able to list the connections, but i don't see which "view" I can
use to get the list:

ObjectName of a connection:
//org.apache.activemq:BrokerName=localhost,Type=Connection,ConnectorName=openwire,Connection=toto

I tried ConnectorViewMBean but the operations on it don't allow me to list
the connections:

ObjectName name = new
ObjectName("org.apache.activemq:BrokerName=localhost,Type=Connection,ConnectorName=openwire");
            mbsc.getMBeanInfo(name);
            ConnectorViewMBean view = JMX.newMBeanProxy(mbsc, name,
ConnectorViewMBean.class);

Thank you for the help!

Best regards

Andrew



--
View this message in context: http://activemq.2283324.n4.nabble.com/Get-list-of-connections-through-JMX-tp3815517p3815517.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message