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 6403E10651 for ; Mon, 2 Mar 2015 20:43:32 +0000 (UTC) Received: (qmail 87502 invoked by uid 500); 2 Mar 2015 20:43:31 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 87447 invoked by uid 500); 2 Mar 2015 20:43:31 -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 87433 invoked by uid 99); 2 Mar 2015 20:43:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 20:43:31 +0000 X-ASF-Spam-Status: No, hits=1.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,URI_TRY_3LD X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tabish121@gmail.com designates 209.85.216.53 as permitted sender) Received: from [209.85.216.53] (HELO mail-qa0-f53.google.com) (209.85.216.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 20:43:26 +0000 Received: by mail-qa0-f53.google.com with SMTP id k15so25037906qaq.12 for ; Mon, 02 Mar 2015 12:43:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=XlCLZUuUNR5FahUydin6A5OsLxei2Xo6JFf0XGka1dQ=; b=suWYLCnyFcjkwBFX6cEADNKEAgdbOiWRdTVUMUPCnNTlC1x3D+XF8madpEBLJXw6MA Br6etFXjHSjYMy/f8yepnGJIpcFoOcP3JrvRPjm7y8xUcoqtLUnJIYjkDXRk1phgy969 vDbx63w5pEb++TBfWugHUojYtxAS0NqYBSTiGLcsfZWQ/9F1KriRcir/lhOcI8uWHGvx tiq5G5CS5N8tVlmbHiRXsEjP3U4m8bWXpFc3m/OgmJW4t1NeMT4fw8Q7XctruO+j6MLC GfFzQO+acOv3/p3t2yWFlXzWsfYPjf+qbnnfB96B18Fe8g+ZVZju1wI88n9YNrafKnF+ /JbQ== X-Received: by 10.140.106.244 with SMTP id e107mr35641965qgf.0.1425328985642; Mon, 02 Mar 2015 12:43:05 -0800 (PST) Received: from [192.168.2.150] (c-73-191-41-186.hsd1.va.comcast.net. [73.191.41.186]) by mx.google.com with ESMTPSA id a19sm9113178qac.4.2015.03.02.12.43.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Mar 2015 12:43:05 -0800 (PST) Message-ID: <54F4CB58.60608@gmail.com> Date: Mon, 02 Mar 2015 15:43:04 -0500 From: Timothy Bish User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: invalid broker url References: <1425324441412-4692311.post@n4.nabble.com> <1425327417440-4692317.post@n4.nabble.com> In-Reply-To: <1425327417440-4692317.post@n4.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 03/02/2015 03:16 PM, arun196 wrote: > Thanks! Removing new line worked. maximumRedeliveries doesn't seem to work. > Am I doing it right? > > This works - > > brokerURL="failover:(tcp://localhost:61616?keepAlive=true,tcp://localhost:61617?keepAlive=true,tcp://localhost:61618?keepAlive=true)" > > This doesn't work (brokerURL in single line with redeliveryPolicy) - > > brokerURL="failover:(tcp://localhost:61616?keepAlive=true&jms.redeliveryPolicy.maximumRedeliveries=4,tcp://localhost:61617?keepAlive=true&jms.redeliveryPolicy.maximumRedeliveries=4,tcp://localhost:61618?keepAlive=true&jms.redeliveryPolicy.maximumRedeliveries=4)" > > > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/invalid-broker-url-tp4692311p4692317.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > Did you try: failover:(tcp://localhost:61616?keepAlive=true,tcp://localhost:61617?keepAlive=true,tcp://localhost:61618?keepAlive=true)?jms.redeliveryPolicy.maximumRedeliveries=4" -- Tim Bish Sr Software Engineer | RedHat Inc. tim.bish@redhat.com | www.redhat.com skype: tabish121 | twitter: @tabish121 blog: http://timbish.blogspot.com/