[
https://issues.apache.org/jira/browse/AMQ-4048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish closed AMQ-4048.
-----------------------------
Resolution: Not A Problem
Assignee: Timothy Bish
Could not find any case where the counts were off. If a test case can be
provided please re-open and attach here.
> When receiving an already expired message, RegionBroker does not update the
> ExpiredCount statistic
> --------------------------------------------------------------------------------------------------
>
> Key: AMQ-4048
> URL: https://issues.apache.org/jira/browse/AMQ-4048
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.6.0
> Environment: All OS, stock Active MQ install
> Reporter: Marshall Mickelson
> Assignee: Timothy Bish
> Priority: Minor
>
> When receiving a message which is already expired, RegionBroker sends the
> message to the Dead Letter Queue, but does not increment the incoming queue's
> ExpiredCount statistic.
> The affected file is
> \activemq-core\src\main\java\org\apache\activemq\broker\region\RegionBroker.java,
> method @override messageExpired(...)
> Adding this line resolves the issue:
> node.getRegionDestination().getDestinationStatistics().getExpired().increment();
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira