Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 689EC200C3E for ; Mon, 6 Mar 2017 18:00:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6756C160B8F; Mon, 6 Mar 2017 17:00:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BDA54160B84 for ; Mon, 6 Mar 2017 18:00:47 +0100 (CET) Received: (qmail 55263 invoked by uid 500); 6 Mar 2017 17:00:47 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 55143 invoked by uid 99); 6 Mar 2017 17:00:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2017 17:00:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B11FBDFF83; Mon, 6 Mar 2017 17:00:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tabish@apache.org To: commits@activemq.apache.org Date: Mon, 06 Mar 2017 17:00:49 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [04/46] activemq-nms-api git commit: https://issues.apache.org/activemq/browse/AMQNET-224 archived-at: Mon, 06 Mar 2017 17:00:48 -0000 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 Authored: Tue Dec 15 14:42:37 2009 +0000 Committer: Timothy A. Bish 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.