You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/12/15 15:42:37 UTC
svn commit: r890807 -
/activemq/activemq-dotnet/Apache.NMS/branches/1.2.x/src/main/csharp/policies/RedeliveryPolicy.cs
Author: tabish
Date: Tue Dec 15 14:42:37 2009
New Revision: 890807
URL: http://svn.apache.org/viewvc?rev=890807&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQNET-224
Modified:
activemq/activemq-dotnet/Apache.NMS/branches/1.2.x/src/main/csharp/policies/RedeliveryPolicy.cs
Modified: activemq/activemq-dotnet/Apache.NMS/branches/1.2.x/src/main/csharp/policies/RedeliveryPolicy.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/branches/1.2.x/src/main/csharp/policies/RedeliveryPolicy.cs?rev=890807&r1=890806&r2=890807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/branches/1.2.x/src/main/csharp/policies/RedeliveryPolicy.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/branches/1.2.x/src/main/csharp/policies/RedeliveryPolicy.cs Tue Dec 15 14:42:37 2009
@@ -62,10 +62,10 @@
set { this.maximumRedeliveries = value; }
}
- public int RedeliveryDelay(int redeliveredCounter)
+ public virtual int RedeliveryDelay(int redeliveredCounter)
{
int delay = 0;
-
+
if(redeliveredCounter == 0)
{
// The first time through there is no delay, the Rollback should be immediate.