You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/01/04 21:50:13 UTC
svn commit: r895769 -
/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs
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());