Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 25449 invoked from network); 12 Apr 2007 14:47:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Apr 2007 14:47:27 -0000 Received: (qmail 9574 invoked by uid 500); 12 Apr 2007 14:47:33 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 9359 invoked by uid 500); 12 Apr 2007 14:47:32 -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 9350 invoked by uid 99); 12 Apr 2007 14:47:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 07:47:32 -0700 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; Thu, 12 Apr 2007 07:47:24 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Hc0Zk-0000rZ-3f for users@activemq.apache.org; Thu, 12 Apr 2007 07:47:04 -0700 Message-ID: <9960927.post@talk.nabble.com> Date: Thu, 12 Apr 2007 07:47:04 -0700 (PDT) From: spiderman2 To: users@activemq.apache.org Subject: Re: Consumer Failure and Redelivery Policy Behaviour Question In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: shawn.gandhi@bridgewatersystems.com References: <9952528.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org So you're saying if I use ClientAcknowledge and a consumer dies before sending the ACK, then the Broker will redeliver to an available consumer. But how does it know the consumer died? If its not by timeout, then how long will it wait before giving the Job to another consumer? James.Strachan wrote: > > On 4/12/07, spiderman2 wrote: >> >> I have a broker (with a queue, NOT topic) on one host, and consumers on >> various other hosts. After a consumer has taken a persistent message from >> the Broker queue but dies before having processed it and ACK its >> completion, >> what happens? >> >> 1) Is the message redelivered to another consumer? (Through use of the >> failover://) or is the message lost? > > Its delivered to *a* consumer. Typicaly if the original consumer dies > and reconnects, it *could* get the message when its replayed - but > usually another consumer would get it (since the redelivery would > probably happen before the original client can reconnect with > failover) > > > >> - if redelivered, where do i configure the timeout >> - if redelivered, is that when the RedeliveryPolicy takes affect? > > The redelivery timeout is only really used when the original consumer > is redeliverying the message (e.g. due to transaction rollbacks). > > >> 2) Would I be *required* to use transactional session to have this >> guarantee >> of delivery/redelivery? > > No. Redelivery works for client acknowledgements and for transactional > messaging > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Consumer-Failure-and-Redelivery-Policy-Behaviour-Question-tf3563252s2354.html#a9960927 Sent from the ActiveMQ - User mailing list archive at Nabble.com.