activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r365713 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java
Date Tue, 03 Jan 2006 18:55:56 GMT
Author: chirino
Date: Tue Jan  3 10:55:54 2006
New Revision: 365713

URL: http://svn.apache.org/viewcvs?rev=365713&view=rev
Log:
Fix test case

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

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java?rev=365713&r1=365712&r2=365713&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java
Tue Jan  3 10:55:54 2006
@@ -20,6 +20,8 @@
 import javax.jms.DeliveryMode;
 import javax.jms.Destination;
 import javax.jms.JMSException;
+
+import org.apache.activemq.ActiveMQConnectionFactory;
 /**
  * @version $Revision: 1.3 $
  */
@@ -32,5 +34,11 @@
 
     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;
     }
 }



Mime
View raw message