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 11224D701 for ; Fri, 29 Jun 2012 13:09:56 +0000 (UTC) Received: (qmail 37187 invoked by uid 500); 29 Jun 2012 13:09:55 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 37072 invoked by uid 500); 29 Jun 2012 13:09:54 -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 37064 invoked by uid 99); 29 Jun 2012 13:09:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jun 2012 13:09:54 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of torsten@fusesource.com designates 209.85.210.43 as permitted sender) Received: from [209.85.210.43] (HELO mail-pz0-f43.google.com) (209.85.210.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jun 2012 13:09:50 +0000 Received: by dajz8 with SMTP id z8so4215689daj.2 for ; Fri, 29 Jun 2012 06:09:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=y6OKYGKmo5ponwCyQWP3L5gdXuQpYNspUrX534Uv+P0=; b=jzeai6M6Pf6xhBF8Sk2Tes51P5SF9NxZQUVyrf1vlSZu7NkQRwi/9wlS3kL7yzHrWt nRiMGowne9feNJKJESYyAto6LpUIn8Rq1gx8yRP1YYvoeTlxohpyIZYfNWzHKij3YB0i Ituqv0UYAYm2thCKY1LSj5bvNCavavzp2rY6NYN6BTVrS5Yv5zxFWT/qpKTKGiuCo6nr a0xKhlRDSZfzidpJJhr3AvaPmJ5mBVuHNJRZfI3R+gITAAk2WGfK2THoyuCmwBYi893e DOjj0uBqw8WDGQpyntyYAGRtJKunNvfPPDbO7JzMbvSeynNgTmC72cWmXEFG7r/YLSwo Afgg== Received: by 10.68.219.135 with SMTP id po7mr6045379pbc.149.1340975369162; Fri, 29 Jun 2012 06:09:29 -0700 (PDT) Received: from [192.168.178.31] (p57BD6790.dip0.t-ipconnect.de. [87.189.103.144]) by mx.google.com with ESMTPS id tj8sm5434264pbc.10.2012.06.29.06.09.26 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jun 2012 06:09:28 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: master/slave, consumer can not failover From: Torsten Mielke In-Reply-To: <1340969076653-4653662.post@n4.nabble.com> Date: Fri, 29 Jun 2012 15:09:23 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1340884772317-4653639.post@n4.nabble.com> <3AED63DF-5722-4A02-95EC-0055F91E81A2@fusesource.com> <1340935589104-4653661.post@n4.nabble.com> <1340969076653-4653662.post@n4.nabble.com> To: users@activemq.apache.org X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQl8rtJWNt4r6sp8L+ay+Zpa2UM4HodUZcZYLodnL4SIPLmS5CTFelNKyIoOSyWtTFHKH6a7 X-Virus-Checked: Checked by ClamAV on apache.org Your failover url should read: String brokerUrl =3D "failover:(tcp://hostA:61616,tcp://hostB:61617)"; Please try that. Torsten Mielke torsten@fusesource.com tmielke@blogspot.com On Jun 29, 2012, at 1:24 PM, mickhayes wrote: > This bit: >=20 > /String brokerUrl =3D "failover:(tcp://hostA, tcp://hostB)"; >=20 > needs to include the port number 61617. >=20 > Does it? >=20 >=20 > ----- > Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA=20 >=20 > -- > View this message in context: = http://activemq.2283324.n4.nabble.com/master-slave-consumer-can-not-failov= er-tp4653639p4653662.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.