use of org.apache.activemq.store.kahadb.KahaDBStore in project activemq-artemis by apache.
the class ThreeBrokerVirtualTopicNetworkTest method configurePersistenceAdapter.
protected void configurePersistenceAdapter(BrokerService broker) throws IOException {
File dataFileDir = new File("target/test-amq-data/kahadb/" + broker.getBrokerName());
KahaDBStore kaha = new KahaDBStore();
kaha.setDirectory(dataFileDir);
broker.setPersistenceAdapter(kaha);
}
use of org.apache.activemq.store.kahadb.KahaDBStore in project activemq-artemis by apache.
the class SingleBrokerVirtualDestinationsWithWildcardTest method configurePersistenceAdapter.
protected void configurePersistenceAdapter(BrokerService broker) throws IOException {
File dataFileDir = new File("target/test-amq-data/kahadb/" + broker.getBrokerName());
KahaDBStore kaha = new KahaDBStore();
kaha.setDirectory(dataFileDir);
broker.setPersistenceAdapter(kaha);
}
use of org.apache.activemq.store.kahadb.KahaDBStore in project activemq-artemis by apache.
the class TwoBrokerVirtualTopicForwardingTest method configurePersistenceAdapter.
protected void configurePersistenceAdapter(BrokerService broker) throws IOException {
File dataFileDir = new File("target/test-amq-data/kahadb/" + broker.getBrokerName());
KahaDBStore kaha = new KahaDBStore();
kaha.setDirectory(dataFileDir);
broker.setPersistenceAdapter(kaha);
}
use of org.apache.activemq.store.kahadb.KahaDBStore in project activemq-artemis by apache.
the class StoreQueueCursorKahaDBNoDuplicateTest method createBroker.
@Override
protected BrokerService createBroker() throws Exception {
BrokerService broker = super.createBroker();
PersistenceAdapter persistenceAdapter = new KahaDBStore();
persistenceAdapter.setDirectory(new File("target/activemq-data/kahadb"));
broker.setPersistenceAdapter(persistenceAdapter);
return broker;
}
use of org.apache.activemq.store.kahadb.KahaDBStore in project activemq-artemis by apache.
the class AbstractTwoBrokerNetworkConnectorWildcardIncludedDestinationTestSupport method configurePersistenceAdapter.
protected void configurePersistenceAdapter(BrokerService broker) throws IOException {
File dataFileDir = new File("target/test-amq-data/kahadb/" + broker.getBrokerName());
KahaDBStore kaha = new KahaDBStore();
kaha.setDirectory(dataFileDir);
broker.setPersistenceAdapter(kaha);
}
Aggregations