Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 71498 invoked from network); 19 Oct 2006 05:07:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2006 05:07:37 -0000 Received: (qmail 67797 invoked by uid 500); 19 Oct 2006 05:07:37 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 67771 invoked by uid 500); 19 Oct 2006 05:07:36 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 67762 invoked by uid 99); 19 Oct 2006 05:07:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 22:07:36 -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 (asf.osuosl.org: domain of lvb@thecatalis.com designates 204.57.75.199 as permitted sender) Received: from [204.57.75.199] (HELO isgenesis.com) (204.57.75.199) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 22:07:35 -0700 Received: from [10.0.129.227] (account lvb HELO [10.0.129.227]) by isgenesis.com (CommuniGate Pro SMTP 5.0.4) with ESMTPSA id 1295153 for activemq-users@geronimo.apache.org; Thu, 19 Oct 2006 00:07:13 -0500 Message-ID: <45370800.9080402@TheCatalis.com> Date: Thu, 19 Oct 2006 00:07:12 -0500 From: Lou Bona User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: activemq-users@geronimo.apache.org Subject: Re: Random questions about the dead letter queue References: <6857899.post@talk.nabble.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi, sounds like you got the DLQ working. I'm stumped, maybe you can help. I'm looking for some docs, sample code, or just some advice on what I'm missing. For the most basic case I'm using the example code include in the distro (4.0.1), and setting the timeToLive to 10 seconds. I see the that the messages expire, but I don't see them move out of the queue until the broker hits a checkpoint and clears out the old messages. I tried consuming "ActiveMQ.DLQ.Queue.TEST.FOO" - which is what IndividualDeadLetterStrategy.getDeadLetterQueueFor() says the DLQ is for TEST.FOO, and I tried a variety of things with JMX and Advisory Messages, but I'm having zero luck getting expired messages. Any clues on what I'm missing would be appreciated, Lou James Strachan wrote: > On 10/17/06, ojs wrote: > >> >> Hello! >> >> I'd be very happy if someone could give me some answers on this: >> >> How can messages be moved from the dead letter queue to a 'standard' >> queue >> when using kaha persistence? >> Are there any maintenance tools for kaha persistence? >> How to configure that messages won't ever be moved to the dead letter >> queue >> (endless retry)? > > > The MBeans are the way to work with queues, delete messages, move them > from a DLQ to their original queues etc. > > If you don't want to use DLQs just change the redelivery policy to > retry forever. >