Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 92623 invoked from network); 15 Sep 2009 18:04:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Sep 2009 18:04:03 -0000 Received: (qmail 24034 invoked by uid 500); 15 Sep 2009 18:04:03 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 24007 invoked by uid 500); 15 Sep 2009 18:04:02 -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 23997 invoked by uid 99); 15 Sep 2009 18:04:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 18:04:01 +0000 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 (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; Tue, 15 Sep 2009 18:03:50 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MncNG-0005Ei-7Q for users@activemq.apache.org; Tue, 15 Sep 2009 11:03:30 -0700 Message-ID: <25458903.post@talk.nabble.com> Date: Tue, 15 Sep 2009 11:03:30 -0700 (PDT) From: dbczak To: users@activemq.apache.org Subject: Persistence Behavior MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: zak@dbconcert.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have two consumers running, and one producer (all written in java). The producer is sending a message to each consumer with the basic failover transport. In the producer, I have the persistent setting set to true. My problem is that if one of the consumer crashes, when the producer goes to send a message to that consumer, it will infinitely wait for the transport to reconnect, and it will not continue processing. It just prints the following log every second: [main] DEBUG - Waiting for transport to reconnect. I thought when I set persistent to true, if the producer tries to send a message but fails, it should store that message and continue on. Then when the crashed consumer comes back up, all stored messages would be sent. Am I not understanding how this should work? How do I stop producer from waiting for the reconnect? -- View this message in context: http://www.nabble.com/Persistence-Behavior-tp25458903p25458903.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.