mirror of https://github.com/apache/activemq.git
Fix test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365713 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a4618caf0c
commit
7dbbe0c854
|
@ -20,6 +20,8 @@ import javax.jms.ConnectionFactory;
|
|||
import javax.jms.DeliveryMode;
|
||||
import javax.jms.Destination;
|
||||
import javax.jms.JMSException;
|
||||
|
||||
import org.apache.activemq.ActiveMQConnectionFactory;
|
||||
/**
|
||||
* @version $Revision: 1.3 $
|
||||
*/
|
||||
|
@ -33,4 +35,10 @@ public class SimpleDurableTopicTest extends SimpleTopicTest{
|
|||
protected PerfConsumer createConsumer(ConnectionFactory fac,Destination dest,int number) throws JMSException{
|
||||
return new PerfConsumer(fac,dest,"subs:"+number);
|
||||
}
|
||||
|
||||
protected ActiveMQConnectionFactory createConnectionFactory() throws Exception {
|
||||
ActiveMQConnectionFactory cf = super.createConnectionFactory();
|
||||
cf.setClientID(getName());
|
||||
return cf;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue