You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/01/12 06:30:00 UTC

[jira] [Commented] (AMQ-7246) Having a JMX counter for delayed messages

    [ https://issues.apache.org/jira/browse/AMQ-7246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263102#comment-17263102 ] 

Jean-Baptiste Onofré commented on AMQ-7246:
-------------------------------------------

Hi,

You already have:
 * queue size for the number of pending message
 * inflight and dispatch for the "delayed" (even if it's not "direct", assuming that you mean delayed == redelivered, you can also check the redeliveryCount).

> 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.17.0, 5.16.1, 5.15.15
>
>
> 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)