Hello Simon- Those JMX counter metrics most definitely change. If you are using tool, such as console you may need to click ‘Refresh’ as data is going through.
-Matt Pavlovich > On Feb 9, 2022, at 4:10 AM, Simon Lundström <si...@su.se> wrote: > > Hey all! > > Via JMX you can fetch metrics about e.g. queues in ActiveMQ Classic. So > the queue somequeue have the EnqueueCount attribute at > org.apache.activemq:type=Broker,brokerName=activemq.su.se,destinationType=Queue,destinationName=somequeue > which contains the number of messages enqueued to the queue. > > However for topics the EnqueueCount does not move and I can't find any > other attribute that moves either. > > How can I see how many messages are or has been sent to a topic? > > BR, > - Simon