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

[Java Broker] 0-10 Transport should not block on awaiting for close confirmation from client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.7
    • Broker-J
    • None

    Description

      Currently the Java Broker uses the AMQP 0-10 transport classes defined in the common project.

      These classes implement a blocking wait when a close is called on a session, waiting for the peer to confirm the close.

      The broker should never block, moreover, because the broker is blocking it will possibly never see the close confirmation as it will need to first read past other commands sent by the client prior to it receiving the broker initiated close.

      To fix this we need to remove the blocking from the broker, and to also implement the ignoring of incoming commands when the session is in a "closing" state.

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: