activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Guyomar (JIRA)" <>
Subject [jira] [Created] (AMQ-3952) ActiveMQ 5.5.1 Java API Reset Statistic reset everything
Date Mon, 30 Jul 2012 15:38:35 GMT
Nicolas Guyomar created AMQ-3952:

             Summary: ActiveMQ 5.5.1 Java API Reset Statistic reset everything
                 Key: AMQ-3952
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMS client, JMX
    Affects Versions: 5.5.1
            Reporter: Nicolas Guyomar

I'm using 
to reset statistics I get from the JMX Java API, but I was expected that only the "statistic
numbers" would be reseted, and not the state of my queue (number of pending messages for instance)

I'm wondering why the super.reset() method is called in

 public void reset() { 
        if (this.isDoReset()) { 

Problem is, after a reset, if I lookup some queue size, I get 0, even if there are still some
message pending to be dequeued. The "number of pending message" is apparently reseted in the
"super.reset()" call. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message