ActiveMQ
  1. ActiveMQ
  2. AMQ-3744

FailoverTransport connects to inactive slave Broker

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.6.0
    • Component/s: Connector
    • Labels:
      None
    • Environment:

      Windows 7 x64, Java 1.6_30

      Description

      The bug affects the ActiveMQ-Fuse Version 5.5.1-fuse-02-02. The version 5.5.1-fuse-00-08 is the last testet with no problem.

      when trying to connect to a failover-url with multiple failover nodes, the failover transport connects successful already at the first node, even if it is an inactive slave.
      Then, of course, no session can be started. The consumer is waiting all the time.

        Activity

        Hide
        Timothy Bish added a comment -

        Tested against latest 5.6 SNAPSHOT and the test case passes without error.

        Show
        Timothy Bish added a comment - Tested against latest 5.6 SNAPSHOT and the test case passes without error.
        Hide
        Mirko Golze added a comment -

        I added the fusesource repositoy to the pom.xml. So it should work.
        The test fails with ActiveMQ 5.5.1-fuse-02-02 and runs successful with 5.5.1-fuse-00-08

        Show
        Mirko Golze added a comment - I added the fusesource repositoy to the pom.xml. So it should work. The test fails with ActiveMQ 5.5.1-fuse-02-02 and runs successful with 5.5.1-fuse-00-08
        Hide
        Timothy Bish added a comment -

        Tried to run your test, gives an error: "Could not resolve dependencies for project de.mgo:activemq.test:jar:0.0.1-SNAPSHOT:"

        Show
        Timothy Bish added a comment - Tried to run your test, gives an error: "Could not resolve dependencies for project de.mgo:activemq.test:jar:0.0.1-SNAPSHOT:"
        Hide
        Mirko Golze added a comment -

        activemq.test.zip contains an unit test which demonstrates the maloperation

        Show
        Mirko Golze added a comment - activemq.test.zip contains an unit test which demonstrates the maloperation

          People

          • Assignee:
            Unassigned
            Reporter:
            Mirko Golze
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development