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 0582FD45D for ; Thu, 28 Feb 2013 08:41:37 +0000 (UTC) Received: (qmail 74181 invoked by uid 500); 28 Feb 2013 08:41:36 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74058 invoked by uid 500); 28 Feb 2013 08:41: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 74026 invoked by uid 99); 28 Feb 2013 08:41:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 08:41:34 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.250.139 is neither permitted nor denied by domain of johannesfelten@googlemail.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 08:41:29 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UAz36-0000yE-RI for users@activemq.apache.org; Thu, 28 Feb 2013 00:41:08 -0800 Date: Thu, 28 Feb 2013 00:41:08 -0800 (PST) From: jayeff To: users@activemq.apache.org Message-ID: <1362040868835-4664239.post@n4.nabble.com> In-Reply-To: <1fa03a50.154ff.13d1edd4c85.Coremail.suonayi2006@163.com> References: <1361971421586-4664197.post@n4.nabble.com> <1fa03a50.154ff.13d1edd4c85.Coremail.suonayi2006@163.com> Subject: Re: Re:Prevent Queue from taking new messages, keeping messages already in queue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the answers! PFC won't do the trick for the usecase I am anticipating. I have no flooding issues or similar on the queue, I rather want to be able to gracefully shutdown the service. I will try the approach with different transport connectors as suggested by Christian and see how that works. Cheers, jayeff -- View this message in context: http://activemq.2283324.n4.nabble.com/Prevent-Queue-from-taking-new-messages-keeping-messages-already-in-queue-tp4664197p4664239.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.