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

Timothy Bish updated AMQ-4048:
------------------------------

    Priority: Minor  (was: Major)
    
> 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
>            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

Reply via email to