there is a org.apache.activemq.broker.jmx.BrokerViewMBean#resetStatistics operation on the broker view, so you would need to use jmx programatically to reset.
It would be a nice enhancement to allow a jms message header or destination indicate a request for reset so that the jms api via the statistics plugin could do it. can you raise a jira issue to track this? On 11 June 2012 20:09, zackhasit <zackha...@gmail.com> wrote: > Hi, > > It looks like I can use stats plugin to get all stats I might need. But > after reading the stats I want to reset them such that next time when I get > new stats they are delta from last time read. > Is this possible ? How ? > > Thanks > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/How-to-reset-stats-programmatically-tp4653182.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://fusesource.com http://blog.garytully.com