mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2695 - kahadb store directory location
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9f417a2e5a
commit
d53609ff08
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
package org.apache.activemq.usecases;
|
package org.apache.activemq.usecases;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
|
||||||
import org.apache.activemq.store.PersistenceAdapter;
|
import org.apache.activemq.store.PersistenceAdapter;
|
||||||
import org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter;
|
import org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter;
|
||||||
|
|
||||||
|
@ -24,7 +26,10 @@ public class KahaDBDurableSubscriptionSelectorTest extends DurableSubscriptionSe
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public PersistenceAdapter createPersistenceAdapter() throws Exception {
|
public PersistenceAdapter createPersistenceAdapter() throws Exception {
|
||||||
return new KahaDBPersistenceAdapter();
|
KahaDBPersistenceAdapter adapter = new KahaDBPersistenceAdapter();
|
||||||
|
File dir = new File("target/KahaDB");
|
||||||
|
adapter.setDirectory(dir);
|
||||||
|
return adapter;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue