[
https://issues.apache.org/jira/browse/AMQ-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15634458#comment-15634458
]
ASF GitHub Bot commented on AMQ-4598:
-------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/activemq/pull/62
> Negative JMX QueueSize attribute in due to purging a queue
> ----------------------------------------------------------
>
> Key: AMQ-4598
> URL: https://issues.apache.org/jira/browse/AMQ-4598
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.8.0
> Reporter: Dejan Bosanac
> Assignee: Dejan Bosanac
> Fix For: 5.9.0
>
> Attachments: amq_negative_queue_size_after_purge.diff
>
>
> If you purge a queue that has a bunch of messages prefetched you may end up
> with a negative QueueSize in JMX as the prefetched messages get acked after
> the purge.
> This behavior should be considered a bug as many users depend on these JMX
> statistics.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)