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 2012/08/20 20:13:55 UTC

svn commit: r1375157 - in /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk: ./ src/main/csharp/Connection.cs

Author: jgomes
Date: Mon Aug 20 18:13:55 2012
New Revision: 1375157

URL: http://svn.apache.org/viewvc?rev=1375157&view=rev
Log:
Merged revision(s) 1375156 from activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x:
Fix compile for .NET-CF 2.0.  Fixes https://issues.apache.org/jira/browse/AMQNET-394

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/   (props changed)
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs

Propchange: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/
------------------------------------------------------------------------------
  Merged /activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x:r1375156

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs?rev=1375157&r1=1375156&r2=1375157&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs Mon Aug 20 18:13:55 2012
@@ -690,8 +690,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)