You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/03/15 10:19:00 UTC

[jira] [Commented] (AMQ-7112) Network Bridges not showing Duplex bridges on the Remote broker console

    [ https://issues.apache.org/jira/browse/AMQ-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16793509#comment-16793509 ] 

ASF subversion and git services commented on AMQ-7112:
------------------------------------------------------

Commit 84f8447a195e79c0dda47406731bbca1ce63a8f9 in activemq's branch refs/heads/master from Alan Protasio
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=84f8447 ]

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


> Network Bridges not showing Duplex bridges on the Remote broker console
> -----------------------------------------------------------------------
>
>                 Key: AMQ-7112
>                 URL: https://issues.apache.org/jira/browse/AMQ-7112
>             Project: ActiveMQ
>          Issue Type: Test
>          Components: networkbridge
>    Affects Versions: 5.15.8
>            Reporter: Alan Protasio
>            Priority: Major
>             Fix For: 5.16.0, 5.15.9
>
>         Attachments: brokerA - After Change.png, brokerA - JMX View.png, brokerB - After Change .png, brokerB - Before Change.png, brokerB - JMX view.png
>
>
> Hi,
> I created a duplex network connector and I noticed that the "[Created By Duplex|http://localhost:8161/admin/network.jsp]" column was false in the local broker. I found this weird and I noticed that the collumn should have the value true on the remote broker as described here:
> [http://sensatic.net/activemq/how-to-monitor-activemq-networks.html]
> https://issues.apache.org/jira/browse/AMQ-3109
> After analyzing why i noticed that the name of the remote bean changed here:
> https://issues.apache.org/jira/browse/AMQ-4237
> [https://svn.apache.org/viewvc/activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java?r1=1425871&r2=1425870&pathrev=1425871]
> After this change this information stopped to be displayed in the console.
> I Added some screen shots of before and after the change.
>  
> BrokerA -> BrokerB (duplex)
> {quote} 
>  <networkConnectors>
>  {{        <networkConnector consumerTTL="1" messageTTL="-1" duplex="true" name="connector" password="admin" uri="static:(tcp://localhost:61616)" userName="admin">}}
>  {{        </networkConnector>}}
>   </networkConnectors>
> {quote}
>  
> So... in the broker a the bean is:
> org.apache.activemq:type=Broker,brokerName=localhost,connector=networkConnectors,networkConnectorName=connector
>  
> In the broker b, the bean name is:
> org.apache.activemq:brokerName=localhost,connector=duplexNetworkConnectors,networkConnectorName=#4,networkBridge=tcp_//127.0.0.1_49610,type=Broker
>  
> As e can see, the attribute connector is different (connector=networkConnectors x connector=duplexNetworkConnectors)
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)