1 14 15 package org.apache.activemq.perf; 16 17 import javax.jms.ConnectionFactory ; 18 import javax.jms.DeliveryMode ; 19 import javax.jms.Destination ; 20 import javax.jms.JMSException ; 21 import org.apache.activemq.ActiveMQConnectionFactory; 22 import org.apache.activemq.ActiveMQPrefetchPolicy; 23 import org.apache.activemq.broker.BrokerService; 24 import org.apache.activemq.xbean.BrokerFactoryBean; 25 import org.springframework.core.io.ClassPathResource; 26 import org.springframework.core.io.Resource; 27 28 31 public class SlowDurableConsumerTopicTest extends SlowConsumerTopicTest{ 32 33 protected PerfConsumer[] slowConsumers; 34 protected int NUMBER_OF_SLOW_CONSUMERS=1; 35 36 37 38 protected PerfConsumer createSlowConsumer(ConnectionFactory fac,Destination dest,int number) throws JMSException { 39 return new SlowConsumer(fac,dest,"durableSlowConsumer"+number); 40 } 41 42 43 } 44 45 | Popular Tags |