From users-return-11669-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Mon Dec 03 15:54:42 2007 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 70860 invoked from network); 3 Dec 2007 15:54:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2007 15:54:42 -0000 Received: (qmail 83528 invoked by uid 500); 3 Dec 2007 15:54:30 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 83255 invoked by uid 500); 3 Dec 2007 15:54:29 -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 83246 invoked by uid 99); 3 Dec 2007 15:54:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 07:54:29 -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 (athena.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; Mon, 03 Dec 2007 15:54:07 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IzDcX-0005MG-Vj for users@activemq.apache.org; Mon, 03 Dec 2007 07:54:09 -0800 Message-ID: <14132694.post@talk.nabble.com> Date: Mon, 3 Dec 2007 07:54:09 -0800 (PST) From: cmagoyrk To: users@activemq.apache.org Subject: Re: Dead Letter Queue In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Clayton.Magouyrk@hilton.com References: <14132132.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I can implement that logic into my client, essentially each queue having it's own error queue, but then what is the purpose of the Dead Letter Queue? James.Strachan wrote: > > On 03/12/2007, cmagoyrk wrote: >> >> I am using Client Acknowledgement with prefetch size set to one. A >> client >> reads a message, decides that the message is invalid, and would like to >> Nack >> it. I do not know how to Nack the message (send a Poison Ack) back to >> the >> Queue. For reference I am trying to do this from a perl application >> using >> STOMP. > > Typically you NAK a message by sending it to some bad message > destination; i.e. you still consume it. > > If its a transient error (such as you can't talk to a database just > yet or something) you could ROLLBACK a transaction instead? > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > > -- View this message in context: http://www.nabble.com/Dead-Letter-Queue-tf4937253s2354.html#a14132694 Sent from the ActiveMQ - User mailing list archive at Nabble.com.