You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jg...@apache.org on 2008/04/24 02:22:30 UTC

svn commit: r651122 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs

Author: jgomes
Date: Wed Apr 23 17:22:29 2008
New Revision: 651122

URL: http://svn.apache.org/viewvc?rev=651122&view=rev
Log:
Fix the default connection client ID.  If no client ID is specified, then multiple connection should be allowed.  Thanks to StefanL for catching this problem.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs?rev=651122&r1=651121&r2=651122&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs Wed Apr 23 17:22:29 2008
@@ -55,7 +55,7 @@
         }
 
 		public ConnectionFactory(string brokerUri)
-			: this(brokerUri, CreateNewGuid())
+			: this(brokerUri, null)
 		{
 		}
 
@@ -65,7 +65,7 @@
 		}
 
 		public ConnectionFactory(Uri brokerUri)
-			: this(brokerUri, CreateNewGuid())
+			: this(brokerUri, null)
 		{
 		}