From 84f8447a195e79c0dda47406731bbca1ce63a8f9 Mon Sep 17 00:00:00 2001 From: Alan Protasio Date: Mon, 26 Nov 2018 14:57:49 -0800 Subject: [PATCH] AMQ-7112 - Show duplex network bridges in the remote broker console --- .../main/java/org/apache/activemq/web/BrokerFacadeSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-web/src/main/java/org/apache/activemq/web/BrokerFacadeSupport.java b/activemq-web/src/main/java/org/apache/activemq/web/BrokerFacadeSupport.java index 07ef9abfea..014dd77265 100644 --- a/activemq-web/src/main/java/org/apache/activemq/web/BrokerFacadeSupport.java +++ b/activemq-web/src/main/java/org/apache/activemq/web/BrokerFacadeSupport.java @@ -229,7 +229,7 @@ public abstract class BrokerFacadeSupport implements BrokerFacade { @Override public Collection 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 queryResult = queryNames(query, null); return getManagedObjects(queryResult.toArray(new ObjectName[queryResult.size()]), NetworkBridgeViewMBean.class);