Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 63249 invoked from network); 16 Jul 2010 18:15:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jul 2010 18:15:59 -0000 Received: (qmail 84809 invoked by uid 500); 16 Jul 2010 18:15:59 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 84769 invoked by uid 500); 16 Jul 2010 18:15:58 -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 84761 invoked by uid 99); 16 Jul 2010 18:15:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 18:15:58 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL 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; Fri, 16 Jul 2010 18:15:51 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OZpRa-0000Pj-FH for users@activemq.apache.org; Fri, 16 Jul 2010 11:15:30 -0700 Message-ID: <29183558.post@talk.nabble.com> Date: Fri, 16 Jul 2010 11:15:30 -0700 (PDT) From: test4john To: users@activemq.apache.org Subject: failover only for producers?? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: test4john@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org use "failover:(tcp://ip1:61616,tcp://ip2:61616)?randomize=false" for both producer and consumer. both brokers JDBC to mssql server (also tried on mysql, same results) start ip1 then ip2 so ip1 get the lock and is now the master; shutdown ip1 (now ip2 got the lock and is the master), producer keep working but consumer paused; bring up ip1 and shutdown ip2 (now ip1 is master again) , producer keep working and consumer now continues. any suggestion? thanks! -- View this message in context: http://old.nabble.com/failover-only-for-producers---tp29183558p29183558.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.