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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: Broker-J
    • Labels:
      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

            • Assignee:
              rgodfrey Rob Godfrey
              Reporter:
              rgodfrey Rob Godfrey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: