1 14 15 package org.apache.activemq.perf; 16 17 import java.io.File ; 18 import org.apache.activemq.broker.BrokerService; 19 import org.apache.activemq.store.amq.AMQPersistenceAdapter; 20 21 24 public class AMQStoreDurableTopicTest extends SimpleDurableTopicTest{ 25 26 27 protected void configureBroker(BrokerService answer) throws Exception { 28 File dataFileDir=new File ("target/test-amq-data/perfTest/amqdb"); 29 AMQPersistenceAdapter adaptor = new AMQPersistenceAdapter(); 30 adaptor.setDirectory(dataFileDir); 31 answer.setPersistenceAdapter(adaptor); 32 answer.setDeleteAllMessagesOnStartup(true); 33 answer.addConnector(bindAddress); 34 } 35 } 36 | Popular Tags |