activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r359239 - /incubator/activemq/trunk/activemq-core/src/main/java/org/activemq/ActiveMQConnectionFactory.java
Date Tue, 27 Dec 2005 16:47:59 GMT
Author: chirino
Date: Tue Dec 27 08:47:56 2005
New Revision: 359239

URL: http://svn.apache.org/viewcvs?rev=359239&view=rev
Log:
Applied patch suggested by marcusp@absa.co.za on the dev mailing list.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/activemq/ActiveMQConnectionFactory.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/activemq/ActiveMQConnectionFactory.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/activemq/ActiveMQConnectionFactory.java?rev=359239&r1=359238&r2=359239&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/activemq/ActiveMQConnectionFactory.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/activemq/ActiveMQConnectionFactory.java
Tue Dec 27 08:47:56 2005
@@ -207,6 +207,9 @@
             connection.setAsyncDispatch(isAsyncDispatch());
             connection.setUseAsyncSend(isUseAsyncSend());
             connection.setUseRetroactiveConsumer(isUseRetroactiveConsumer());
+
+            if( clientID !=null )
+                connection.setClientID(clientID);
             
             return connection;
         }



Mime
View raw message