@Torsten Mielke Ya that worked.. I obtained the 'brokerView' from the 'brokerService' instance using 'brokerView.getAdminView()' Then i used the 'brokerView.getMemoryPercentUsage()' which gave me the current memoru used buy the broker..I can now validate this percentage against a threshold value and determine whether i should process the message or not..
Thanks a lot for the guidance.. -- View this message in context: http://activemq.2283324.n4.nabble.com/Getting-ActiveMQ-Memory-statistics-tp3577057p3596486.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.