Gary Tully created AMQ-5742:
-------------------------------
Summary: Destination dispatched count statistic not reflecting
redelivery/redispatch
Key: AMQ-5742
URL: https://issues.apache.org/jira/browse/AMQ-5742
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.11.0
Reporter: Gary Tully
Assignee: Gary Tully
Fix For: 5.12.0
Tracking down in intermittent failure of
org.apache.activemq.network.DemandForwardingBridgeTest.testSendThenAddConsumer
the problem turned out to be a decrement of the dispatched count when the
consumer was removed.
So before the removal, most of the time, the stat was 1, and the test passed.
But if the removal was complete, the dispatched count was decremented in error
by the unacked message count. This is wrong. The dispatched stat needs to
reflect what happened :-) Otherwise it tracks the dequeue count.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)