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/18 01:19:10 UTC

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

Author: jgomes
Date: Fri Aug 17 23:19:09 2012
New Revision: 1374470

URL: http://svn.apache.org/viewvc?rev=1374470&view=rev
Log:
Remove zombie consumers that were created after failover.  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=1374470&r1=1374469&r2=1374470&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 Fri Aug 17 23:19:09 2012
@@ -683,6 +683,7 @@ namespace Apache.NMS.Stomp
             }
 
             Tracer.Error("No such consumer active: " + dispatch.ConsumerId);
+            transport.Oneway(new RemoveInfo() { ObjectId = dispatch.ConsumerId });
         }
 
         protected void OnTransportException(ITransport sender, Exception exception)