[ https://issues.apache.org/jira/browse/AMQ-7246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263204#comment-17263204 ]
François Courtault commented on AMQ-7246: ----------------------------------------- Hello, When I said delayed message, I was refering to JMS 2.0 setDeliveryDelay method available on Producer. I know that ActiveMQ is not JMS 2.0 compliant. I don't think I have understood your answer. My current understanding is: delayed messages = inflight + dispatch ? Could you provide me please the formula to apply in order to have the number of messages delayed ? BTW will, at some point, ActiveMQ be JMS 2.0 certified ? 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 > > 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)