AFAIK, AMQ does not persist statistics out to secondary storage. 

You could write your own plugin that taps the MBeans for the info and writes
it out to a db. Or write a Monlet using this 
http://www.ttmsolutions.com/Transactional_Software_Solutions/Active_Monitor_AMon.php
monitoring tool . 

The default values for enableStatistics and deleteAllMessagesOnStartup are
true and false, respectively. 

Joe
http://www.ttmsolutions.com


NabiL wrote:
> 
> Hi all,
> 
> I tested ActiveMQ 5.3  and it works fine !! 
> 
> Questions: 
> 
> 1- I want to preserve statistics after restart server. I have entered
> these broker parameters 
>  enableStatistics="true" and deleteAllMessagesOnStartup="false". When i
> restart AMQ server, as a result the statistics are not preserved (Messages
> Enqueued, Messages Dequeued ...)
> 
> Any help will be appreciated.
> 
> Thanks in advance.
> NabiLo
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-preserve-statisitcs-after-restart-server-tp25909976p25911014.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to