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

FailoverTransport connects to inactive slave Broker

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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
        migo Mirko Golze added a comment -

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

        Show
        migo Mirko Golze added a comment - activemq.test.zip contains an unit test which demonstrates the maloperation
        Hide
        tabish121 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
        tabish121 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
        migo 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
        migo 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
        tabish121 Timothy Bish added a comment -

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development