Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-7112

Network Bridges not showing Duplex bridges on the Remote broker console

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.15.8
    • 5.15.9, 5.16.0
    • Network of Brokers
    • None

    Description

      Hi,

      I created a duplex network connector and I noticed that the "Created By Duplex" 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)

       
      <networkConnectors>
              <networkConnector consumerTTL="1" messageTTL="-1" duplex="true" name="connector" password="admin" uri="static:(tcp://localhost:61616)" userName="admin">
              </networkConnector>
       </networkConnectors>

       

      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)

       

       

       

      Attachments

        1. brokerA - After Change.png
          13 kB
          Alan Protasio
        2. brokerA - JMX View.png
          154 kB
          Alan Protasio
        3. brokerB - After Change .png
          13 kB
          Alan Protasio
        4. brokerB - Before Change.png
          10 kB
          Alan Protasio
        5. brokerB - JMX view.png
          108 kB
          Alan Protasio

        Activity

          People

            cshannon Christopher L. Shannon
            alanprot Alan Protasio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m