Skip to content

Commit

Permalink
AMQ-7112 - Show duplex network bridges in the remote broker console
Browse files Browse the repository at this point in the history
  • Loading branch information
alanprot authored and cshannon committed Mar 15, 2019
1 parent 2d394b3 commit 84f8447
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public Collection<NetworkConnectorViewMBean> getNetworkConnectors() throws Excep
@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);
Expand Down

0 comments on commit 84f8447

Please sign in to comment.