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

[Java Broker] [AMQP1.0] [AMQP0-9] Queue#ConsumerCountWithCredit statistic not decremented when consumer disconnects

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: qpid-java-broker-7.0.0
    • Fix Version/s: qpid-java-broker-7.0.0
    • Component/s: Broker-J
    • Labels:
      None

      Description

      Running HelloWorld against the Java Broker, I notice that the Queue#ConsumerCountWithCredit statistic does not return to zero after the connection is closed. The problem is not apparent when using the older protocols. Corrected: AMQP 0-9 also exhibits the same problem.

      I notice org.apache.qpid.server.consumer.AbstractConsumerTarget#close clears _consumers then calls setNotifyWorkDesired which iterates _consumers.

      I verified that v6.1 is not affected.

        Attachments

          Activity

            People

            • Assignee:
              kwall Keith Wall
              Reporter:
              kwall Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: