activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r1374470 - /activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Connection.cs
Date Fri, 17 Aug 2012 23:19:10 GMT
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)



Mime
View raw message