activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r694205 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreDurableTopicTest.java
Date Thu, 11 Sep 2008 10:26:01 GMT
Author: rajdavies
Date: Thu Sep 11 03:25:52 2008
New Revision: 694205

URL: http://svn.apache.org/viewvc?rev=694205&view=rev
Log:
remove reference to KahaDB

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreDurableTopicTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreDurableTopicTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreDurableTopicTest.java?rev=694205&r1=694204&r2=694205&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreDurableTopicTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/AMQStoreDurableTopicTest.java
Thu Sep 11 03:25:52 2008
@@ -19,7 +19,6 @@
 import java.io.File;
 import org.apache.activemq.broker.BrokerService;
 import org.apache.activemq.store.amq.AMQPersistenceAdapter;
-import org.apache.kahadb.store.KahaDBPersistenceAdaptor;
 
 /**
  * @version $Revision: 1.3 $
@@ -30,13 +29,9 @@
         File dataFileDir = new File("target/test-amq-data/perfTest/amqdb");
         dataFileDir.mkdirs();
         answer.setDeleteAllMessagesOnStartup(true);
-        //AMQPersistenceAdapter adaptor = new AMQPersistenceAdapter();
-        //adaptor.setArchiveDataLogs(true);
-        //adaptor.setMaxFileLength(1024 * 64);
-        
-         KahaDBPersistenceAdaptor adaptor = new KahaDBPersistenceAdaptor();
-        //adaptor.setDirectory(dataFileDir);
-         
+        AMQPersistenceAdapter adaptor = new AMQPersistenceAdapter();
+        adaptor.setArchiveDataLogs(true);
+        adaptor.setMaxFileLength(1024 * 64);       
         
         answer.setDataDirectoryFile(dataFileDir);
         answer.setPersistenceAdapter(adaptor);



Mime
View raw message