Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0FBFE419B for ; Tue, 31 May 2011 16:03:12 +0000 (UTC) Received: (qmail 5682 invoked by uid 500); 31 May 2011 16:03:11 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 5656 invoked by uid 500); 31 May 2011 16:03:11 -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 5648 invoked by uid 99); 31 May 2011 16:03:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2011 16:03:11 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of rasitha.wijesinghe@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2011 16:03:05 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QRRP3-0001sC-20 for users@activemq.apache.org; Tue, 31 May 2011 09:02:45 -0700 Date: Tue, 31 May 2011 09:02:45 -0700 (PDT) From: rasitha1 To: users@activemq.apache.org Message-ID: <1306857765052-3563553.post@n4.nabble.com> In-Reply-To: References: <1306857765054-2356685.post@n4.nabble.com> Subject: Re: Dead Letter Queue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Can you please expand a bit on this? "Typically you NAK a message by sending it to some bad message destination; i.e. you still consume it." I'm looking to use "individualDeadLetterStrategy" to separate failed messages into separate DLQs. But my client code (when using ClientAcknowledge mode) just creates a message manually to the default DLQ. (which I'm not sure is the right way) Looking at the source I see you need to send a special message (AckType=PoisonAck) to tell the broker that the message failed. How should I go about doing that? At the end I need to get failed messages into separate DLQs while using ClientAcknowledge mode. Thanks, Ras -- View this message in context: http://activemq.2283324.n4.nabble.com/Dead-Letter-Queue-tp2356685p3563553.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.