Use better test KahaDB location in configuration.

This commit is contained in:
Timothy Bish 2014-02-10 18:23:02 -05:00
parent 4c38b03d14
commit 314b6e1fd7
2 changed files with 2 additions and 1 deletions

View File

@ -48,6 +48,7 @@ public class AMQ5035Test {
public void setUp() throws Exception {
brokerService = BrokerFactory.createBroker(xbean + confBase + "/activemq.xml");
connectionUri = brokerService.getTransportConnectorByScheme("tcp").getPublishableConnectString();
brokerService.setDeleteAllMessagesOnStartup(true);
brokerService.start();
brokerService.waitUntilStarted();
}

View File

@ -64,7 +64,7 @@
http://activemq.apache.org/persistence.html
-->
<persistenceAdapter>
<kahaDB directory="${activemq.data}/kahadb"/>
<kahaDB directory="target/activemq-data/KahaDB"/>
</persistenceAdapter>