From users-return-51730-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Thu Aug 1 11:35:26 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D81E6180644 for ; Thu, 1 Aug 2019 13:35:25 +0200 (CEST) Received: (qmail 67499 invoked by uid 500); 1 Aug 2019 11:35:24 -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 67478 invoked by uid 99); 1 Aug 2019 11:35:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2019 11:35:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BA1A6182842 for ; Thu, 1 Aug 2019 11:35:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.073 X-Spam-Level: * X-Spam-Status: No, score=1.073 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=0.1, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id WQzdRwgGAtGn for ; Thu, 1 Aug 2019 11:35:21 +0000 (UTC) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=199.38.86.66; helo=n4.nabble.com; envelope-from=matt.koss@aimia.com; receiver= Received: from n4.nabble.com (n4.nabble.com [199.38.86.66]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTP id AB2DCBC924 for ; Thu, 1 Aug 2019 11:35:21 +0000 (UTC) Received: from n4.nabble.com (localhost [127.0.0.1]) by n4.nabble.com (Postfix) with ESMTP id 5B0B7A78DA8D for ; Thu, 1 Aug 2019 06:35:20 -0500 (CDT) Date: Thu, 1 Aug 2019 06:35:20 -0500 (CDT) From: mk666aim To: users@activemq.apache.org Message-ID: <1564659320162-0.post@n4.nabble.com> In-Reply-To: References: Subject: Re: replicated static master/slave - which is the correct URI for an artemis-jms-client? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The below URL does not seem to work for me. Client basically never switches to the backup node. Isn't that what reconnectAttempts=-1 will cause? I used following URL before and the switching happened: *(tcp://master:61616,tcp://slave:61616)?reconnectAttempts=5* What am I missing? And what is the *ha* flag about? jbertram wrote > Thanks for following up, Frank. I would expect a URL like this to work: > > (tcp://master:61616,tcp://slave:61616)?ha=true&reconnectAttempts=-1 -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html