enable statistics for the broker created for this test (count for destinations relies on it)

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@512156 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-02-27 06:43:24 +00:00
parent 274f677ecb
commit 1cc049c5d0
1 changed files with 2 additions and 1 deletions

View File

@ -120,8 +120,9 @@ public class PurgeTest extends EmbeddedBrokerTestSupport {
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;
}