mirror of https://github.com/apache/activemq.git
AMQ-7112 - Show duplex network bridges in the remote broker console
This commit is contained in:
parent
2d394b383c
commit
84f8447a19
|
@ -229,7 +229,7 @@ public abstract class BrokerFacadeSupport implements BrokerFacade {
|
|||
@Override
|
||||
public Collection<NetworkBridgeViewMBean> getNetworkBridges() throws Exception {
|
||||
String brokerName = getBrokerName();
|
||||
ObjectName query = new ObjectName("org.apache.activemq:type=Broker,brokerName=" + brokerName + ",connector=networkConnectors,networkConnectorName=*,networkBridge=*");
|
||||
ObjectName query = new ObjectName("org.apache.activemq:type=Broker,brokerName=" + brokerName + ",connector=*,networkConnectorName=*,networkBridge=*");
|
||||
Set<ObjectName> queryResult = queryNames(query, null);
|
||||
return getManagedObjects(queryResult.toArray(new ObjectName[queryResult.size()]),
|
||||
NetworkBridgeViewMBean.class);
|
||||
|
|
Loading…
Reference in New Issue