Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 98879 invoked from network); 13 Nov 2006 21:43:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Nov 2006 21:43:50 -0000 Received: (qmail 83461 invoked by uid 500); 13 Nov 2006 21:43:58 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 83424 invoked by uid 500); 13 Nov 2006 21:43:58 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 83410 invoked by uid 99); 13 Nov 2006 21:43:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Nov 2006 13:43:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Nov 2006 13:43:45 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 05BED714316 for ; Mon, 13 Nov 2006 13:43:05 -0800 (PST) Message-ID: <8836311.1163454185021.JavaMail.root@brutus> Date: Mon, 13 Nov 2006 13:43:05 -0800 (PST) From: "Hiram Chirino (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Updated: (AMQ-967) setting maximumRedeliveries to -1 is equivalent to maximumRedeliveries=0, but doc says otherwise In-Reply-To: <6994199.1160497929742.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-967?page=all ] Hiram Chirino updated AMQ-967: ------------------------------ Fix Version/s: 4.2 (was: 4.1.0) > setting maximumRedeliveries to -1 is equivalent to maximumRedeliveries=0, but doc says otherwise > ------------------------------------------------------------------------------------------------ > > Key: AMQ-967 > URL: https://issues.apache.org/activemq/browse/AMQ-967 > Project: ActiveMQ > Issue Type: Bug > Components: Connector > Affects Versions: 4.1.0, 4.0.2 > Reporter: Renaud Bruyeron > Fix For: 4.2.0, 4.0.3 > > Attachments: patch.txt > > > The documentation (http://incubator.apache.org/activemq/resource-adapter-properties.html) suggests that setting maximumRedeliveries to -1 means "no maximum", i.e. infinite retries. > However, my tests (and the code) show that -1 is equivalent to 0 (i.e. no redelivery). > The patch attempts to fix this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira