Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-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 E2E3610A75 for ; Fri, 26 Jul 2013 08:36:24 +0000 (UTC) Received: (qmail 23414 invoked by uid 500); 26 Jul 2013 08:36:24 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 23009 invoked by uid 500); 26 Jul 2013 08:36:22 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 22984 invoked by uid 99); 26 Jul 2013 08:36:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 08:36:20 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of philharveyonline@googlemail.com designates 209.85.220.179 as permitted sender) Received: from [209.85.220.179] (HELO mail-vc0-f179.google.com) (209.85.220.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 08:36:16 +0000 Received: by mail-vc0-f179.google.com with SMTP id ht10so302903vcb.38 for ; Fri, 26 Jul 2013 01:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=liWekka5EsyLg0RUc9HmTKXmdJMlzkVHu1uHqkzMCW4=; b=zwApTzNFv6zirIAVadMQeE18CZQPQl1o7MAeB5VxHZs7twXbJiCxscTHNlM6YP38Dr 5t6HCY46RPorvYvsnd1JzftSctWSDhmphNNCIfCRkBKD+QAaTNdnjh8WlkQLR6Xw2vAL a3iv0x9ost3+hEcmSonPtOBZYDp/JclDNqEoXYi46AWz+2UmbbMl1/xPC3dD0OAVR8ry 02jUUDPEKQiNgwEd7IxfQ0sZAu2NuskHkMadNS7pbmdnGlvrBaXwDVDLSw1UX56DpEIs 1BHflHqpIiFCyxE8rRBt5GiT6zVzFbNjIBqN+avGlWoSQDqDUSPYCvhAQttLfBfgFu50 d7lQ== MIME-Version: 1.0 X-Received: by 10.58.207.103 with SMTP id lv7mr19671312vec.33.1374827755739; Fri, 26 Jul 2013 01:35:55 -0700 (PDT) Sender: philharveyonline@googlemail.com Received: by 10.220.227.200 with HTTP; Fri, 26 Jul 2013 01:35:55 -0700 (PDT) In-Reply-To: <1374826919217-7595930.post@n2.nabble.com> References: <1374750372276-7595882.post@n2.nabble.com> <1374826919217-7595930.post@n2.nabble.com> Date: Fri, 26 Jul 2013 09:35:55 +0100 X-Google-Sender-Auth: 2ZKUrqoUe5eIrxVTRC19h3EEJSU Message-ID: Subject: Re: Java client: Cannot stop during failover ? From: Phil Harvey To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=e89a8f923edc02257304e2660843 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f923edc02257304e2660843 Content-Type: text/plain; charset=ISO-8859-1 Hi Marco, It sounds like you haven't configured the number of retries in your connection URL. The connection URL options are described here, along with some examples: http://qpid.apache.org/releases/qpid-0.22/programming/book/QpidJNDI.html During a normal client application shutdown, note that you would normally call close() on your JMS Connection rather than relying on failover giving up (or did I misunderstand your point about shutdown?). Phil On 26 July 2013 09:21, pela wrote: > Hello, > > Any idea? I can't stop the application cleanly if QPID keep retrying the > connection indefinitely (its connection thread remains alive). > > Thanks > Marco > > > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Java-client-Cannot-stop-during-failover-tp7595882p7595930.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > > --e89a8f923edc02257304e2660843--