activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r1375156 - /activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Connection.cs
Date Mon, 20 Aug 2012 18:13:06 GMT
Author: jgomes
Date: Mon Aug 20 18:13:06 2012
New Revision: 1375156

URL: http://svn.apache.org/viewvc?rev=1375156&view=rev
Log:
Fix compile for .NET-CF 2.0.  Fixes https://issues.apache.org/jira/browse/AMQNET-394

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Connection.cs

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Connection.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Connection.cs?rev=1375156&r1=1375155&r2=1375156&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Connection.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Connection.cs
Mon Aug 20 18:13:06 2012
@@ -682,8 +682,10 @@ namespace Apache.NMS.Stomp
                 }
             }
 
-            Tracer.Error("No such consumer active: " + dispatch.ConsumerId);
-            transport.Oneway(new RemoveInfo() { ObjectId = dispatch.ConsumerId });
+            Tracer.Error("No such consumer active: {0}.  Removing...", dispatch.ConsumerId);
+            RemoveInfo info  = new RemoveInfo();
+            info.ObjectId = dispatch.ConsumerId;
+            transport.Oneway(info);
         }
 
         protected void OnTransportException(ITransport sender, Exception exception)



Mime
View raw message