From dev-return-14614-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Mon Mar 09 10:04:04 2009 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 69761 invoked from network); 9 Mar 2009 10:04:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2009 10:04:04 -0000 Received: (qmail 4405 invoked by uid 500); 9 Mar 2009 10:04:04 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 4354 invoked by uid 500); 9 Mar 2009 10:04:03 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 4343 invoked by uid 99); 9 Mar 2009 10:04:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 03:04:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 10:04:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D2771234C001 for ; Mon, 9 Mar 2009 03:03:39 -0700 (PDT) Message-ID: <1879160124.1236593019845.JavaMail.jira@brutus> Date: Mon, 9 Mar 2009 03:03:39 -0700 (PDT) From: "Vijay Kumar (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-2151) failover option maxReconnectAttempts is not working. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org failover option maxReconnectAttempts is not working. ---------------------------------------------------- Key: AMQ-2151 URL: https://issues.apache.org/activemq/browse/AMQ-2151 Project: ActiveMQ Issue Type: Bug Components: JMS client Affects Versions: 5.2.0 Environment: OS is Windows XP Reporter: Vijay Kumar Priority: Blocker I have only one broker is my environment and I am using the failover url in my client code. The failover url is failover:(tcp://localhost:61616)?maxReconnectAttempts=1000&maxReconnectDelay=10000 I have specified maxReconnectAttempts as 1000 so if my broker is down my client will try atleast 1000 times for reconnect before giving the error. But as soon as my broker is down, my client exits after trying one time to reconnect. My client is supposed to try atleast 1000 times to reconnect. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.