@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/Controlling-Message-generation-based-on-ActiveMQ-memory-tp3576900p3596483.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to