activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "flou@yahoo-inc.com" <f...@yahoo-inc.com>
Subject Re: Get list of connections through JMX?
Date Thu, 15 Sep 2011 14:21:01 GMT
Have you tried to use MBeanServerConnection.queryNames(ObjectName objName,
QueryExp query).

You need to construct ObjectName with wildcard for Connection ID:
new
ObjectName("org.apache.activemq:BrokerName="+brokerName+",Type=Connection,ConnectorName=openwire,Connection=*")

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

Mime
View raw message