Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB5317CCC for ; Thu, 11 Aug 2011 09:34:45 +0000 (UTC) Received: (qmail 38878 invoked by uid 500); 11 Aug 2011 09:34:44 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 38449 invoked by uid 500); 11 Aug 2011 09:34:20 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 38420 invoked by uid 99); 11 Aug 2011 09:34:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 09:34:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.35.219.98] (HELO gwstu.uhi.ac.uk) (194.35.219.98) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 09:34:07 +0000 Received: from sgarbh.smo.uhi.ac.uk ([194.35.194.47]) by gwstu.uhi.ac.uk with ESMTP; Thu, 11 Aug 2011 10:33:11 +0100 From: Alistair Young Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: failover startupMaxReconnectAttempts doesn't do anything Date: Thu, 11 Aug 2011 10:33:14 +0100 Message-Id: <797DE1C4-591D-4EAA-A42E-01A2E25C2C3B@uhi.ac.uk> To: users@activemq.apache.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) If I try to connect to a dead broker: failover:tcp://localhost:61617 it blocks forever on: ActiveMQConnectionFactory connectionFactory::setClientID if I force it to not block: = failover:tcp://localhost:61617?startupMaxReconnectAttempts=3D1&initialReco= nnectDelay=3D10 it still blocks. Am I missing something? thanks, Alistair --=20 mov eax,1 mov ebx,0 int 80h