git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-06-23 13:39:14 +00:00
parent 9f417a2e5a
commit d53609ff08
1 changed files with 6 additions and 1 deletions

View File

@ -17,6 +17,8 @@
package org.apache.activemq.usecases;
import java.io.File;
import org.apache.activemq.store.PersistenceAdapter;
import org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter;
@ -24,7 +26,10 @@ public class KahaDBDurableSubscriptionSelectorTest extends DurableSubscriptionSe
@Override
public PersistenceAdapter createPersistenceAdapter() throws Exception {
return new KahaDBPersistenceAdapter();
KahaDBPersistenceAdapter adapter = new KahaDBPersistenceAdapter();
File dir = new File("target/KahaDB");
adapter.setDirectory(dir);
return adapter;
}
}