Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 65460 invoked from network); 3 Dec 2007 15:42:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2007 15:42:20 -0000 Received: (qmail 60038 invoked by uid 500); 3 Dec 2007 15:42:08 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 60015 invoked by uid 500); 3 Dec 2007 15:42:07 -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 60006 invoked by uid 99); 3 Dec 2007 15:42:07 -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:42:07 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 15:41:47 +0000 Received: by ug-out-1314.google.com with SMTP id k3so1395743ugf for ; Mon, 03 Dec 2007 07:41:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=rYUASf/wBvit3vO33t91QyBc/6wqL1HhxN7M+h67PdQ=; b=v3cPHqAInVJIM9ieU+O3MbM51ecVuAEoVZfaqIiOSnoDwhszXyOACywsUWHNz33JBOX3ziUUOKVUhwBETS+xDa35mQ8VaDZZE8g2fNlN5TJBp0IIZ/xRnA8B756+uuIVZ8gO9nqSjfFcChUTeKzwEGZNEHrmmSzyhpUb8Jj/I/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sLifQBywERwaNwlZuOKTQziLh4ezROPEueZQysMMvA81cZFI6pOG0rHFATnwuO+ZgVjzxjRkUeOXxOZzmeH0asry/1nnSgiNOsLW3ibSfjwelwfEGcJqg3kfZZanBNLhrPZx6HdynchsVm8A/lfRXU7LJtqxBnxTj/hZJYCbXiM= Received: by 10.150.152.17 with SMTP id z17mr2789211ybd.1196696508050; Mon, 03 Dec 2007 07:41:48 -0800 (PST) Received: by 10.150.149.6 with HTTP; Mon, 3 Dec 2007 07:41:48 -0800 (PST) Message-ID: Date: Mon, 3 Dec 2007 15:41:48 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: Dead Letter Queue In-Reply-To: <14132132.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14132132.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 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