sbe in dumpProducerRate()

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@476294 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2006-11-17 20:10:34 +00:00
parent d47855ace3
commit 5f68126945
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class SimpleTopicTest extends TestCase{
int totalCount=0;
for(int i=0;i<producers.length;i++){
totalRate+=producers[i].getRate().getRate();
totalCount+=consumers[i].getRate().getTotalCount();
totalCount+=producers[i].getRate().getTotalCount();
}
int avgRate = totalRate/producers.length;
log.info("Avg producer rate = "+avgRate+" msg/sec | Total rate = "+totalRate+", sent = "+totalCount);