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

Commands waiting on a future are not notified of a connection closed event

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M3
    • M4
    • JMS AMQP 0-x
    • None

    Description

      When a command is waiting for its result on a future it is notified of a connection closed event through a RuntimeException. This is an issue especially when the connection is closed by the broker because the command was erroneous. The connectionClosed event with the corresponding error code is currently dispatched to the connection exception listener.

      one solution would be for the connection delegate of org.apache.qpidity.nclient.Client to notify its org.apache.qpidity.nclient.Session that the connection has been closed by the broker. The sessions would then close all its pending commands with the corresponding error code/exception.

      Attachments

        Activity

          People

            rhs Rafael H. Schloming
            arnaudsimon Arnaud Simon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: