[ https://issues.apache.org/activemq/browse/AMQ-928?page=all ]
Patrick Villacorta resolved AMQ-928. ------------------------------------ Resolution: Fixed (rev 450371) added null check to ensure that a subscription was actually removed from the map before decrementing consumer count. added a test > Topic subscriber count is incorrect, shows up as negative (JMX) > --------------------------------------------------------------- > > Key: AMQ-928 > URL: https://issues.apache.org/activemq/browse/AMQ-928 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 4.0 > Reporter: Patrick Villacorta > Assigned To: Patrick Villacorta > Fix For: 4.1 > > > In JMX console: > 1. create 2 topics & with 1 durable subscriber each > - topic subscriber count is still at 0 > 2. remove 1 of the subscribers > - subscriber count for both topics is now at -1 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira