[
https://issues.apache.org/jira/browse/AMQ-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Protasio updated AMQ-7112:
-------------------------------
Description:
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)
was:
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}
> 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)