activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r1374473 - in /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk: ./ src/main/csharp/Connection.cs
Date Fri, 17 Aug 2012 23:24:36 GMT
Author: jgomes
Date: Fri Aug 17 23:24:35 2012
New Revision: 1374473

URL: http://svn.apache.org/viewvc?rev=1374473&view=rev
Log:
Merged revision(s) 1374469 from activemq/activemq-dotnet/Apache.NMS.ActiveMQ/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.ActiveMQ/trunk/   (props changed)
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs

Propchange: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/
------------------------------------------------------------------------------
  Merged /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x:r1374469

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs?rev=1374473&r1=1374472&r2=1374473&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Connection.cs Fri Aug
17 23:24:35 2012
@@ -960,7 +960,8 @@ namespace Apache.NMS.ActiveMQ
 				}
 			}
 
-			Tracer.ErrorFormat("Connection[{0}]: No such consumer active: " + dispatch.ConsumerId,
this.ConnectionId);
+            Tracer.ErrorFormat("Connection[{0}]: No such consumer active: {1}.  Removing...",
this.ConnectionId, dispatch.ConsumerId);
+            transport.Oneway(new RemoveInfo() { ObjectId = dispatch.ConsumerId });
 		}
 
 		protected void OnKeepAliveCommand(ITransport commandTransport, KeepAliveInfo info)



Mime
View raw message