Author: tabish
Date: Tue Dec 15 14:40:57 2009
New Revision: 890805
URL: http://svn.apache.org/viewvc?rev=890805&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQNET-224
Modified:
activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs
Modified:
activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs?rev=890805&r1=890804&r2=890805&view=diff
==============================================================================
---
activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs
(original)
+++
activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/policies/RedeliveryPolicy.cs
Tue Dec 15 14:40:57 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.