mirror of https://github.com/apache/activemq.git
Allow the createBroker method to be overriden in other tests.
This commit is contained in:
parent
e64da4a71f
commit
78c4e43372
|
@ -73,7 +73,7 @@ public class AmqpTestSupport {
|
||||||
this.numberOfMessages = 2000;
|
this.numberOfMessages = 2000;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createBroker(boolean deleteAllMessages) throws Exception {
|
protected void createBroker(boolean deleteAllMessages) throws Exception {
|
||||||
brokerService = new BrokerService();
|
brokerService = new BrokerService();
|
||||||
brokerService.setPersistent(false);
|
brokerService.setPersistent(false);
|
||||||
brokerService.setAdvisorySupport(false);
|
brokerService.setAdvisorySupport(false);
|
||||||
|
|
Loading…
Reference in New Issue