mirror of https://github.com/apache/activemq.git
make sure we delete the persistence store before starting
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8be526c5ec
commit
aee4378a8a
|
@ -56,6 +56,7 @@ public class SlowConsumerTest extends TestCase {
|
||||||
final BrokerService broker = new BrokerService();
|
final BrokerService broker = new BrokerService();
|
||||||
broker.setPersistent(true);
|
broker.setPersistent(true);
|
||||||
broker.setUseJmx(true);
|
broker.setUseJmx(true);
|
||||||
|
broker.setDeleteAllMessagesOnStartup(true);
|
||||||
|
|
||||||
broker.addConnector("tcp://localhost:61616").setName("Default");
|
broker.addConnector("tcp://localhost:61616").setName("Default");
|
||||||
broker.start();
|
broker.start();
|
||||||
|
|
Loading…
Reference in New Issue