ActiveMQ
  1. ActiveMQ
  2. AMQ-3798

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 5.6.0
    • Fix Version/s: None
    • Component/s: Broker
    • Labels:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Hanno Wiegard
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development