You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2017/10/24 09:21:00 UTC

[jira] [Updated] (QPID-7971) [Java Broker] [AMQP1.0] [AMQP0-9] Queue#ConsumerCountWithCredit statistic not decremented when consumer disconnects

     [ https://issues.apache.org/jira/browse/QPID-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-7971:
-----------------------------
    Summary: [Java Broker] [AMQP1.0] [AMQP0-9] Queue#ConsumerCountWithCredit statistic not decremented when consumer disconnects  (was: [Java Broker] [AMQP1.0] Queue#ConsumerCountWithCredit statistic not decremented when consumer disconnects)

> [Java Broker] [AMQP1.0] [AMQP0-9] Queue#ConsumerCountWithCredit statistic not decremented when consumer disconnects
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7971
>                 URL: https://issues.apache.org/jira/browse/QPID-7971
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-broker-7.0.0
>            Reporter: Keith Wall
>            Priority: Minor
>             Fix For: qpid-java-broker-7.0.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org