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.