[
https://issues.apache.org/jira/browse/ARTEMIS-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Clebert Suconic closed ARTEMIS-1964.
------------------------------------
> Address control has 2 methods to get same metric
> ------------------------------------------------
>
> Key: ARTEMIS-1964
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1964
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.23.1
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Fix For: 2.24.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{getNumberOfMessages()}} and {{getMessageCount()}} both return the same
> metric albeit in different ways. This is confusing and should be refactored.
> Also, {{getNumberOfMessages()}} inspects both "local" and "remote" queue
> bindings which is wrong. This can result in differences between the values
> reported by each.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)