[ 
https://issues.apache.org/jira/browse/QPID-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16216792#comment-16216792
 ] 

ASF subversion and git services commented on QPID-7971:
-------------------------------------------------------

Commit d1b74e424d2bf71004357cf7b3e968b68b1aed10 in qpid-broker-j's branch 
refs/heads/master from [~k-wall]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=d1b74e4 ]

QPID-7971: [Qpid Broker-J] Ensure that consumers are notified no-work during 
consumer target close


> [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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to