From users-return-31030-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Fri Jun 8 09:59:25 2012 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 0C3E5CE02 for ; Fri, 8 Jun 2012 09:59:25 +0000 (UTC) Received: (qmail 55065 invoked by uid 500); 8 Jun 2012 09:59:24 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 54860 invoked by uid 500); 8 Jun 2012 09:59:23 -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 54631 invoked by uid 99); 8 Jun 2012 09:59:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 09:59:23 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.250.139 is neither permitted nor denied by domain of mickhayes@gmail.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 09:59:18 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Scvy6-00081Q-Bj for users@activemq.apache.org; Fri, 08 Jun 2012 02:58:58 -0700 Date: Fri, 8 Jun 2012 02:58:58 -0700 (PDT) From: mickhayes To: users@activemq.apache.org Message-ID: <1339149538355-4653089.post@n4.nabble.com> In-Reply-To: <1337260960556-4642958.post@n4.nabble.com> References: <1337260960556-4642958.post@n4.nabble.com> Subject: Re: JMS Appender reconnect to Broker MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You can achieve automatic client reconnect by using the failover transport. http://activemq.apache.org/failover-transport-reference.html Then your client will attempt to reconnect transparently and when successful, messages (in this case the messages are logs) can be sent to the broker. ----- Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA -- View this message in context: http://activemq.2283324.n4.nabble.com/JMS-Appender-reconnect-to-Broker-tp4642958p4653089.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.