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:
Robert Davies 2008-09-11 10:25:52 +00:00
parent 8de97c6a98
commit deb11f5ef8
1 changed files with 3 additions and 8 deletions

View File

@ -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);