mirror of https://github.com/apache/activemq.git
remove reference to KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@694205 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8de97c6a98
commit
deb11f5ef8
|
@ -19,7 +19,6 @@ package org.apache.activemq.perf;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import org.apache.activemq.broker.BrokerService;
|
import org.apache.activemq.broker.BrokerService;
|
||||||
import org.apache.activemq.store.amq.AMQPersistenceAdapter;
|
import org.apache.activemq.store.amq.AMQPersistenceAdapter;
|
||||||
import org.apache.kahadb.store.KahaDBPersistenceAdaptor;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.3 $
|
* @version $Revision: 1.3 $
|
||||||
|
@ -30,13 +29,9 @@ public class AMQStoreDurableTopicTest extends SimpleDurableTopicTest {
|
||||||
File dataFileDir = new File("target/test-amq-data/perfTest/amqdb");
|
File dataFileDir = new File("target/test-amq-data/perfTest/amqdb");
|
||||||
dataFileDir.mkdirs();
|
dataFileDir.mkdirs();
|
||||||
answer.setDeleteAllMessagesOnStartup(true);
|
answer.setDeleteAllMessagesOnStartup(true);
|
||||||
//AMQPersistenceAdapter adaptor = new AMQPersistenceAdapter();
|
AMQPersistenceAdapter adaptor = new AMQPersistenceAdapter();
|
||||||
//adaptor.setArchiveDataLogs(true);
|
adaptor.setArchiveDataLogs(true);
|
||||||
//adaptor.setMaxFileLength(1024 * 64);
|
adaptor.setMaxFileLength(1024 * 64);
|
||||||
|
|
||||||
KahaDBPersistenceAdaptor adaptor = new KahaDBPersistenceAdaptor();
|
|
||||||
//adaptor.setDirectory(dataFileDir);
|
|
||||||
|
|
||||||
|
|
||||||
answer.setDataDirectoryFile(dataFileDir);
|
answer.setDataDirectoryFile(dataFileDir);
|
||||||
answer.setPersistenceAdapter(adaptor);
|
answer.setPersistenceAdapter(adaptor);
|
||||||
|
|
Loading…
Reference in New Issue