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 0CD84EB46 for ; Wed, 27 Feb 2013 13:24:10 +0000 (UTC) Received: (qmail 74632 invoked by uid 500); 27 Feb 2013 13:24:09 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74601 invoked by uid 500); 27 Feb 2013 13:24:09 -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 74590 invoked by uid 99); 27 Feb 2013 13:24:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 13:24:09 +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 (nike.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; Wed, 27 Feb 2013 13:24:02 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UAgyz-00050P-Lh for users@activemq.apache.org; Wed, 27 Feb 2013 05:23:41 -0800 Date: Wed, 27 Feb 2013 05:23:41 -0800 (PST) From: jayeff To: users@activemq.apache.org Message-ID: <1361971421586-4664197.post@n4.nabble.com> Subject: 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 Hi all, is there a way to prevent a given queue from taking any new messages, while keeping the messages already enqueued in the queue? I would like to use some mechanism like this to softly shutdown the broker, allowing the messages that were already enqueued to be processed but not to take new messages. Grateful for any ideas! :) Best regards, jayeff -- View this message in context: http://activemq.2283324.n4.nabble.com/Prevent-Queue-from-taking-new-messages-keeping-messages-already-in-queue-tp4664197.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.