Sorry, I should have replied about this already. I found the problem in the plugin code and submitted a defect. Gary Tully fixed it already.
https://issues.apache.org/jira/browse/AMQ-6518 On Sun, Dec 4, 2016 at 7:43 AM, Tim Bain <tb...@alumni.duke.edu> wrote: > If you haven't already, please submit a bug report in JIRA. > > On Nov 24, 2016 3:52 PM, "rth" <robert.huff...@gmail.com> wrote: > > > Yes, it looks like a bug. The StatisticsBroker, on line 123, invokes > > stats.getMessageSize().getAveragePerSecond() instead of > getAverageSize(). > > getAveragePerSecond divides 1000 by the result of getAverageSize(). > > > > So I have a topic with an actual averageMessageSize of 1242. The > statistic > > plugin divides 1000 by 1242 and gives me an average size of 0. > > > > > > > > > > -- > > View this message in context: http://activemq.2283324.n4. > > nabble.com/Statistics-plugin-is-reporting-averageMessageSize-as-0- > > tp4719483p4719484.html > > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > >