Hi Simon, Do you refresh the MBean attributes ? JMX is “static”, so the client has to refresh the attributes.
Regards JB > Le 9 févr. 2022 à 11:10, Simon Lundström <[email protected]> a écrit : > > 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
