AMQ-7112 - Show duplex network bridges in the remote broker console

This commit is contained in:
Alan Protasio 2018-11-26 14:57:49 -08:00 committed by Christopher L. Shannon (cshannon)
parent 2d394b383c
commit 84f8447a19
1 changed files with 1 additions and 1 deletions

View File

@ -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);