Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3912

Client failover fails to reconnect if a previous attempted reconnection has failed 'late' in the connection start process.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.17
    • 0.17
    • JMS AMQP 0-x
    • None

    Description

      A client uses failover to allow their client to reconnect to a second broker in the event of failure of the primary.

      There is a defect in the Qpid Java client's failover code that means if an attempted reconnection fails 'late' in the connection start process, then the AMQConnection _closed flag get set permanently to true and this prevents all future use of the AMQConnection object, even after a successful reconnection. By 'late' I mean a failure after the TCP/IP connection has been successfully established - such as an authentication or authorisation problem that causes the Broker to decide to close the connection.

      The problem affects both 0-10 and 0-8..0-9-1 code paths.

      Attachments

        Issue Links

          Activity

            People

              kwall Keith Wall
              kwall Keith Wall
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: