diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java b/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java index f0365a09ff..e660754760 100644 --- a/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java @@ -103,7 +103,7 @@ public class BrokerService implements Service, Serializable { public static final String LOCAL_HOST_NAME; private boolean useJmx = true; - private boolean enableStatistics = true; + private boolean enableStatistics = false; private boolean persistent = true; private boolean populateJMSXUserID = false; private boolean useShutdownHook = true; diff --git a/activemq-core/src/main/java/org/apache/activemq/management/StatisticImpl.java b/activemq-core/src/main/java/org/apache/activemq/management/StatisticImpl.java index a66f7ab5ea..c173eebdcd 100755 --- a/activemq-core/src/main/java/org/apache/activemq/management/StatisticImpl.java +++ b/activemq-core/src/main/java/org/apache/activemq/management/StatisticImpl.java @@ -29,7 +29,7 @@ public class StatisticImpl implements Statistic, Resettable { private String description; private long startTime; private long lastSampleTime; - protected boolean enabled= true; + protected boolean enabled= false; public StatisticImpl(String name, String unit, String description) { this.name = name;