diff --git a/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java b/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java index 5d975ef689..ab37f40be4 100644 --- a/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java @@ -297,6 +297,7 @@ public class MBeanTest extends EmbeddedBrokerTestSupport { protected BrokerService createBroker() throws Exception { BrokerService answer = new BrokerService(); answer.setUseJmx(true); + answer.setEnableStatistics(true); answer.setPersistent(false); answer.addConnector(bindAddress); return answer;