Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 83266 invoked from network); 21 Feb 2008 21:46:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 21:46:03 -0000 Received: (qmail 11416 invoked by uid 500); 21 Feb 2008 21:45:57 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 11397 invoked by uid 500); 21 Feb 2008 21:45:57 -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 11388 invoked by uid 99); 21 Feb 2008 21:45:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 13:45:57 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 21:45:10 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JSJER-0003yE-4m for users@activemq.apache.org; Thu, 21 Feb 2008 13:45:31 -0800 Message-ID: <15619364.post@talk.nabble.com> Date: Thu, 21 Feb 2008 13:45:31 -0800 (PST) From: rd7 To: users@activemq.apache.org Subject: ActiveMQ failover question MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: richdedeyan@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hello, We are using ActiveMQ 4.1.1 and are in the process of testing failover. We have 2 servers (host 1 & host2), each with 1 broker and 2 publishers each. So, the 2 publishers that are on host1 send messages to the broker on host1 and use host2 as failover, and vice versa for host2. There are 2 clients, each of which are deployed on different servers. Client 1 connects to host1 first (with host2 as failover) and vice-versa for client 2. If the broker on host1 goes down, the publishers on host1 and client1 will failover to host2. If the broker on host1 comes back up, is there a way for the publishers on host1 and client1 to revert back automatically to using the broker on host1 again? Here is the example of our URL: failover://(tcp://host1:61616,tcp://host2:61616)?wireFormat.maxInactivityDuration=0&initialReconnectDelay=100&randomize=false Thanks for your help. -- View this message in context: http://www.nabble.com/ActiveMQ-failover-question-tp15619364s2354p15619364.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.