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 9C50871C5 for ; Thu, 11 Aug 2011 14:42:57 +0000 (UTC) Received: (qmail 17208 invoked by uid 500); 11 Aug 2011 14:42:57 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 17170 invoked by uid 500); 11 Aug 2011 14:42:56 -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 17161 invoked by uid 99); 11 Aug 2011 14:42:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 14:42:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.220.171] (HELO mail-vx0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 14:42:48 +0000 Received: by vxh13 with SMTP id 13so2141180vxh.2 for ; Thu, 11 Aug 2011 07:42:27 -0700 (PDT) Received: by 10.220.98.133 with SMTP id q5mr1038274vcn.199.1313073747247; Thu, 11 Aug 2011 07:42:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.45.196 with HTTP; Thu, 11 Aug 2011 07:42:07 -0700 (PDT) From: Oscar Pernas Date: Thu, 11 Aug 2011 16:42:07 +0200 Message-ID: Subject: exit app after broker down To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=0016e646a3cc44c1a004aa3bce1a X-Virus-Checked: Checked by ClamAV on apache.org --0016e646a3cc44c1a004aa3bce1a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all, Im using Java Client to make a small application to catch all advisory messages from the broker. Ive set the following connection string: failover://(tcp://localhost:61616) The application starts succesfully, but if I stop the broker, after a few secons, my application exits. The last message that I could read is: org.apache.activemq.transport.failover.FailoverTransport handleTransportFailure Transport failed to tcp://localhost:61616 , attempting to automatically reconnect due to: java.io.EOFException If I shutdown and start the broker quickly, the application still continue receiving data. I've set so many different connection parameters like soTimeout, maxConnectionAttemps, but nothing works. Any Idea? Thanks in advance. --=20 =D3scar Pernas Plaza. --0016e646a3cc44c1a004aa3bce1a--