[
https://issues.apache.org/jira/browse/AMQ-7246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231963#comment-17231963
]
François Courtault commented on AMQ-7246:
-----------------------------------------
Hello again,
A question: how to know, at instant t, how many messages are in the queue ?
using JMX QueueSize ? using JMX InFlightCount ? using the
formula EnqueueCount - DequeueCount ?
Just also to be sure: the delayed message count is not included in any of these
counters above until the delay time has expired, right ?
Best Regards.
> Having a JMX counter for delayed messages
> -----------------------------------------
>
> Key: AMQ-7246
> URL: https://issues.apache.org/jira/browse/AMQ-7246
> Project: ActiveMQ
> Issue Type: Improvement
> Components: JMX
> Affects Versions: 5.15.6
> Reporter: François Courtault
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.16.1, 5.15.14
>
>
> As of today there is no easy way to monitor the number of delayed messages.
> One possibility is to use the getAllJobs() operation on JobScheduler MBean.
> But we have to specify a timeframe so it's quite difficult to use.
> Instead, could we have a new JMX counter which provides the number of delayed
> messages ?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)