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 2017/03/06 17:00:49 UTC
[04/46] activemq-nms-api git commit:
https://issues.apache.org/activemq/browse/AMQNET-224
https://issues.apache.org/activemq/browse/AMQNET-224
Project: http://git-wip-us.apache.org/repos/asf/activemq-nms-api/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-nms-api/commit/35c427be
Tree: http://git-wip-us.apache.org/repos/asf/activemq-nms-api/tree/35c427be
Diff: http://git-wip-us.apache.org/repos/asf/activemq-nms-api/diff/35c427be
Branch: refs/heads/1.2.x
Commit: 35c427be0ba80921db964d2698f7efe3ccd2bf4a
Parents: c335762
Author: Timothy A. Bish <ta...@apache.org>
Authored: Tue Dec 15 14:42:37 2009 +0000
Committer: Timothy A. Bish <ta...@apache.org>
Committed: Tue Dec 15 14:42:37 2009 +0000
----------------------------------------------------------------------
src/main/csharp/policies/RedeliveryPolicy.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-nms-api/blob/35c427be/src/main/csharp/policies/RedeliveryPolicy.cs
----------------------------------------------------------------------
diff --git a/src/main/csharp/policies/RedeliveryPolicy.cs b/src/main/csharp/policies/RedeliveryPolicy.cs
index b662cd5..30cff90 100644
--- a/src/main/csharp/policies/RedeliveryPolicy.cs
+++ b/src/main/csharp/policies/RedeliveryPolicy.cs
@@ -62,10 +62,10 @@ namespace Apache.NMS.Policies
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.