You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (Assigned) (JIRA)" <ji...@apache.org> on 2012/02/20 00:16:34 UTC

[jira] [Assigned] (QPID-3855) [Java broker] the activeConsumerCount for a queue can be incorrect for certain types of subscriptions

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

Robbie Gemmell reassigned QPID-3855:
------------------------------------

    Assignee: Keith Wall  (was: Robbie Gemmell)

Keith, could you review this please?

Thanks,
Robbie
                
> [Java broker] the activeConsumerCount for a queue can be incorrect for certain types of subscriptions
> -----------------------------------------------------------------------------------------------------
>
>                 Key: QPID-3855
>                 URL: https://issues.apache.org/jira/browse/QPID-3855
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14
>            Reporter: Robbie Gemmell
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>
> activeConsumerCount on a queue is incorrect for certain types of subscriptions. When registering a new subscription on the queue, the activeConsumerCount is incremented. However, some subscriptions are not actually active when they are registered, and only become so later. The queue is ntoifed of this state change as it is a stateChangeListener for registered subscriptions, meaning the activeConsumerCount is incremented again and as a result the count shown can be innacurate. When registering a new subscription the count should only be incremented if it is already active.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org