I think StatisticsBrokerPlugin class can be used for this purpose. To retrieve stats on the broker send a empty message to ActiveMQ.Statistics.Broker (Queue or Topic) with a replyTo set to the destination you want the stats returned to.
But using this I am not sure you can log stats into the log file. Someone from ActiveMQ developer team can help us with this. Is there a way to log stats in to the log file, or we can expect some enhancement in future versions of ActiveMQ. -- View this message in context: http://activemq.2283324.n4.nabble.com/Statistics-Plugin-for-ActiveMQ-broker-tp4671788p4671815.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.