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:26:14 UTC

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

Author: jgomes
Date: Fri Aug 17 23:26:14 2012
New Revision: 1374475

URL: http://svn.apache.org/viewvc?rev=1374475&view=rev
Log:
Merged revision(s) 1374470 from activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x:
Remove zombie consumers that were created after failover.  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:r1374470

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=1374475&r1=1374474&r2=1374475&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 Fri Aug 17 23:26:14 2012
@@ -691,6 +691,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)