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

Network connector does not establish connections to a slave broker after master failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 5.6.0
    • None
    • Broker
    • None

    Description

      We have a broker A which is connected to a master/slave pair (M/S) using a network connector with a static:failover configuration. A producer P writes to boker A and a consumer C consumes from brokers M/S. After M fails S becomes active but the no data flows from P to C anymore. Data seems to be stuck on A.

      The master/slave pair is a normal ActiveMQ installation (attached config files master.xml and slave.xml). Broker A is started within a java process which runs in the TestProducer.java code, TestConsumer.java consumes messages from the master/slave pair.

      Attached testcase shows the same behaviour.

      Attachments

        1. MasterSlaveNetworkTest.java
          8 kB
          Hanno Wiegard
        2. TestProducer.java
          2 kB
          Hanno Wiegard
        3. TestConsumer.java
          2 kB
          Hanno Wiegard
        4. slave.xml
          3 kB
          Hanno Wiegard
        5. master.xml
          2 kB
          Hanno Wiegard

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hwiegard Hanno Wiegard
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: