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 C79E77E50 for ; Wed, 28 Dec 2011 02:08:37 +0000 (UTC) Received: (qmail 26509 invoked by uid 500); 28 Dec 2011 02:08:36 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 26478 invoked by uid 500); 28 Dec 2011 02:08:36 -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 26470 invoked by uid 99); 28 Dec 2011 02:08:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 02:08:36 +0000 X-ASF-Spam-Status: No, hits=4.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,SPF_SOFTFAIL,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of wenlf2009@hotmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 02:08:30 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Rfiw4-00058F-Ll for users@activemq.apache.org; Tue, 27 Dec 2011 18:08:08 -0800 Date: Tue, 27 Dec 2011 18:08:08 -0800 (PST) From: eric wen To: users@activemq.apache.org Message-ID: In-Reply-To: References: <1324897606126-4234322.post@n4.nabble.com> Subject: RE: how can i config to let amq remove the queue message when timeout MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_27647_30482793.1325038088666" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_27647_30482793.1325038088666 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello, Stevo thank you very much for your prompt reply. you have enlightened me and finally i finished my work as what i want. thanks again. i'm using jms(amq5.5) with mule 3.1.2, what i want is to remove expired messages stored in amq automatically, and now my mule configuration file looks like this: i've tested this, it seems, actually amq will remove this expired message when responseTimeout after 60 seconds yet not timeToLive which is 30 seconds but it doesn't matter, i'll study about this further. Regards, Eric. -- View this message in context: http://activemq.2283324.n4.nabble.com/how-can-i-config-to-let-amq-remove-the-queue-message-when-timeout-tp4234322p4238821.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. ------=_Part_27647_30482793.1325038088666--