Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 43756 invoked from network); 18 Dec 2006 13:14:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2006 13:14:07 -0000 Received: (qmail 72439 invoked by uid 500); 18 Dec 2006 13:14:14 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 72412 invoked by uid 500); 18 Dec 2006 13:14:14 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 72403 invoked by uid 99); 18 Dec 2006 13:14:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 05:14:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 05:14:03 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GwIJJ-0003xd-1g for activemq-users@geronimo.apache.org; Mon, 18 Dec 2006 05:13:41 -0800 Message-ID: <7928465.post@talk.nabble.com> Date: Mon, 18 Dec 2006 05:13:41 -0800 (PST) From: mers To: activemq-users@geronimo.apache.org Subject: Accessing failover://'s keep alive. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: emerson.farrugia@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm working on code that will use the failover:// transport in ActiveMQ 4.1 to send messages to a remote queue. In the event that all reconnects fail (e.g. network problems), I catch the thrown JMSException in my code and persist messages locally. When one or more brokers come back up, I transmit the persisted messages. In order to do this, I need to know when the brokers are back up using some sort of keep alive mechanism. The failover:// transport uses a keep alive mechanism to allow blocked MessageProducers to complete their sends once the Connection they are sending on is reestablished. My question is whether my code can access the keep alive mechanism built into the failover:// transport or whether I have to implement my own mechanism altogether. Thanks, Emerson -- View this message in context: http://www.nabble.com/Accessing-failover%3A--%27s-keep-alive.-tf2839794.html#a7928465 Sent from the ActiveMQ - User mailing list archive at Nabble.com.