activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r895769 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs
Date Mon, 04 Jan 2010 20:50:13 GMT
Author: tabish
Date: Mon Jan  4 20:50:13 2010
New Revision: 895769

URL: http://svn.apache.org/viewvc?rev=895769&view=rev
Log:
Remove any leading "stomp:" prefix from the connection URI before creating the Connection
and Transports.

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

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs?rev=895769&r1=895768&r2=895769&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs Mon
Jan  4 20:50:13 2010
@@ -89,7 +89,7 @@
         public IConnection CreateConnection(string userName, string password)
         {
             // Strip off the activemq prefix, if it exists.
-            Uri uri = new Uri(URISupport.stripPrefix(brokerUri.OriginalString, "activemq:"));
+            Uri uri = new Uri(URISupport.stripPrefix(brokerUri.OriginalString, "stomp:"));
 
             Tracer.InfoFormat("Connecting to: {0}", uri.ToString());
 



Mime
View raw message