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 E8E3F9FA9 for ; Mon, 12 Mar 2012 19:11:04 +0000 (UTC) Received: (qmail 88751 invoked by uid 500); 12 Mar 2012 19:11:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 88672 invoked by uid 500); 12 Mar 2012 19:11:04 -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 88664 invoked by uid 99); 12 Mar 2012 19:11:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 19:11:04 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.250.139 is neither permitted nor denied by domain of mickhayes@gmail.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 19:10:58 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1S7Adf-0002W9-Vp for users@activemq.apache.org; Mon, 12 Mar 2012 12:10:35 -0700 Date: Mon, 12 Mar 2012 12:10:35 -0700 (PDT) From: mickhayes To: users@activemq.apache.org Message-ID: <1331579435978-4467040.post@n4.nabble.com> In-Reply-To: <1331220323660-4456702.post@n4.nabble.com> References: <1331220323660-4456702.post@n4.nabble.com> Subject: Re: Client reconnect using HTTP tunneling after network outage MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You could leave out the second uri. How to set the "options" varies with AMQ version, see: http://activemq.apache.org/failover-transport-reference.html (I presume you are looking at an unreleased 5.6.x snapshot as you are specifiying "-1".) However, if you leave out the maxReconnectAttempts "option" it will default to *forever *in any case. This reminds me of "Fresh Fish for Sale Here Today" - most of what is written turned out to be unnecessary. ----- Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA -- View this message in context: http://activemq.2283324.n4.nabble.com/Client-reconnect-using-HTTP-tunneling-after-network-outage-tp4456702p4467040.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.