mirror of https://github.com/apache/activemq.git
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:
parent
274f677ecb
commit
1cc049c5d0
|
@ -120,8 +120,9 @@ public class PurgeTest extends EmbeddedBrokerTestSupport {
|
||||||
protected BrokerService createBroker() throws Exception {
|
protected BrokerService createBroker() throws Exception {
|
||||||
BrokerService answer = new BrokerService();
|
BrokerService answer = new BrokerService();
|
||||||
answer.setUseJmx(true);
|
answer.setUseJmx(true);
|
||||||
|
answer.setEnableStatistics(true);
|
||||||
answer.setPersistent(false);
|
answer.setPersistent(false);
|
||||||
answer.addConnector(bindAddress);
|
answer.addConnector(bindAddress);
|
||||||
return answer;
|
return answer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue