activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aneesh <cv_ane...@yahoo.co.in>
Subject Re: Getting ActiveMQ Memory statistics
Date Tue, 14 Jun 2011 13:02:09 GMT
@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.

Mime
View raw message