Qpid
  1. Qpid
  2. QPID-2855

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

    Details

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

        Activity

        Hide
        Rob Godfrey added a comment -

        Committed revision 996303.

        Show
        Rob Godfrey added a comment - Committed revision 996303.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development