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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • qpid-java-broker-7.0.0
    • qpid-java-broker-7.0.0
    • Broker-J
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: