You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cs...@apache.org on 2019/03/15 10:19:26 UTC

[activemq] branch activemq-5.15.x updated: AMQ-7112 - Show duplex network bridges in the remote broker console

This is an automated email from the ASF dual-hosted git repository.

cshannon pushed a commit to branch activemq-5.15.x
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/activemq-5.15.x by this push:
     new ae8993d  AMQ-7112 - Show duplex network bridges in the remote broker console
ae8993d is described below

commit ae8993df7e4611da7cf2354ef1b35983fcfcdd55
Author: Alan Protasio <al...@gmail.com>
AuthorDate: Mon Nov 26 14:57:49 2018 -0800

    AMQ-7112 - Show duplex network bridges in the remote broker console
    
    (cherry picked from commit 84f8447a195e79c0dda47406731bbca1ce63a8f9)
---
 .../src/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 07ef9ab..014dd77 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<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);