activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r512156 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/PurgeTest.java
Date Tue, 27 Feb 2007 06:43:25 GMT
Author: rajdavies
Date: Mon Feb 26 22:43:24 2007
New Revision: 512156

URL: http://svn.apache.org/viewvc?view=rev&rev=512156
Log:
enable statistics for the broker created for this test (count for destinations relies on it)

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/PurgeTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/PurgeTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/PurgeTest.java?view=diff&rev=512156&r1=512155&r2=512156
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/PurgeTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/PurgeTest.java
Mon Feb 26 22:43:24 2007
@@ -120,8 +120,9 @@
     protected BrokerService createBroker() throws Exception {
         BrokerService answer = new BrokerService();
         answer.setUseJmx(true);
+        answer.setEnableStatistics(true);
         answer.setPersistent(false);
-        answer.addConnector(bindAddress);
+        answer.addConnector(bindAddress);   
         return answer;
     }
 



Mime
View raw message