Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 4112 invoked from network); 28 Jul 2009 11:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jul 2009 11:22:11 -0000 Received: (qmail 30378 invoked by uid 500); 28 Jul 2009 11:23:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 30309 invoked by uid 500); 28 Jul 2009 11:23:28 -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 30290 invoked by uid 99); 28 Jul 2009 11:23:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 11:23:28 +0000 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 rajdavies@gmail.com designates 209.85.217.214 as permitted sender) Received: from [209.85.217.214] (HELO mail-gx0-f214.google.com) (209.85.217.214) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 11:23:17 +0000 Received: by gxk10 with SMTP id 10so768782gxk.21 for ; Tue, 28 Jul 2009 04:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=LI8zUC919HYtvLRRK9iio5+hwnN9oM3By6wM2/FQyqM=; b=jq+XKhdnVq0OEEJ3s3InPrXcboTnKGijS0Ub3WvO0QRUvdDm6UxXXLk4P2Mg7qEQsi LlPFNQ1yYc2tlAltjiXL6k5gGqvlbOctWI/t5l7rHEE7iSmVICIkBVaAE3lgEHmIlpHY bpr8dwBENkQBXgAKnNlzgsEAtTodS2GWM4aK8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=XgrdCqqfKf8aDOudkJAhA0QYxzrjE2Yaf7iIbJLmp33VxZpzZnPcroPMvV/wLIJ0ck UsuHPIXvha+MRf2VbzVIik7TOYxkax9oQcZhQ/TMHAqsYWU+LRLhv0bMWmJNPzjc7Mtf 4i9N/+Kc9wyRyTsN11ZRynvN3nXIcYWhG6dzM= Received: by 10.90.51.16 with SMTP id y16mr2569409agy.50.1248780176857; Tue, 28 Jul 2009 04:22:56 -0700 (PDT) Received: from wfh-bwright.americas.progress.com (host86-166-135-159.range86-166.btcentralplus.com [86.166.135.159]) by mx.google.com with ESMTPS id 36sm2141780agc.20.2009.07.28.04.22.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Jul 2009 04:22:55 -0700 (PDT) Message-Id: From: Rob Davies To: users@activemq.apache.org In-Reply-To: <24695829.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: How to (automatically) activate Discarding DLQ Broker PLugin Date: Tue, 28 Jul 2009 12:22:52 +0100 References: <24695829.post@talk.nabble.com> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org On 28 Jul 2009, at 10:35, moreno9000 wrote: > > Hi all, > I have a Producer that sends 250 messages to QUEUE_01. > Messages expire after 30 seconds. > AMQ 5.2 is configured to use Discarding DLQ Broker Plugin. > After 30 seconds I expect messages to be sent to DLQueue > and immediately discarded. > > This doesn't happen :-( > > More exactly, it happens only when I "browse" QUEUE_01 with AMQ web > console. > QUEUE_01 is empty and, at the same time, DLQ is not present (in > activemq.log > file > I see discarding plugin activation). > > Is it possible to activate the plugin without having to browse > QUEUE_01 > with the console ? > > Many thanks in advance, > Moreno > -- > View this message in context: http://www.nabble.com/How-to-%28automatically%29-activate-Discarding-DLQ-Broker-PLugin-tp24695829p24695829.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > As an aside - if you don't want expired messages in your DLQ - just set the property on the dead letter strategy - processExpired = false cheers, Rob Rob Davies I work here: http://fusesource.com My Blog: http://rajdavies.blogspot.com/ I'm writing this: http://www.manning.com/snyder/