activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r965589 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs
Date Mon, 19 Jul 2010 19:09:50 GMT
Author: tabish
Date: Mon Jul 19 19:09:50 2010
New Revision: 965589

URL: http://svn.apache.org/viewvc?rev=965589&view=rev
Log:
* Connection.cs:   Fix an error when running unit tests and the host env var is set to an
IP address.

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

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs?rev=965589&r1=965588&r2=965589&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs Mon Jul
19 19:09:50 2010
@@ -17,6 +17,7 @@
 
 using System;
 using System.Collections;
+using System.Collections.Specialized;
 using System.Threading;
 using Apache.NMS.ActiveMQ.Commands;
 using Apache.NMS.ActiveMQ.Transport;
@@ -404,9 +405,9 @@ namespace Apache.NMS.ActiveMQ
             SyncRequest(info, this.RequestTimeout);
             Session session = new Session(this, info, sessionAcknowledgementMode, this.dispatchAsync);
 
-            // Set properties on session using parameters prefixed with "session."
-            URISupport.CompositeData c = URISupport.ParseComposite(this.brokerUri);
-            URISupport.SetProperties(session, c.Parameters, "session.");
+            // Set propertieDs on session using parameters prefixed with "session."
+			StringDictionary options = URISupport.ParseQuery(this.brokerUri.Query);
+            URISupport.SetProperties(session, options, "session.");
 
             if(IsStarted)
             {



Mime
View raw message