From 7dbbe0c854d7821d58422f00b75b017b4cdc8ff4 Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Tue, 3 Jan 2006 18:55:54 +0000 Subject: [PATCH] Fix test case git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365713 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/activemq/perf/SimpleDurableTopicTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java b/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java index 9e65f30580..e68c19a02d 100644 --- a/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java @@ -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; + } } \ No newline at end of file