Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 38531 invoked from network); 11 Nov 2010 15:48:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Nov 2010 15:48:09 -0000 Received: (qmail 92399 invoked by uid 500); 11 Nov 2010 15:48:41 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 92238 invoked by uid 500); 11 Nov 2010 15:48:39 -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 92227 invoked by uid 99); 11 Nov 2010 15:48:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 15:48:38 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 15:48:31 +0000 Received: from joe.nabble.com ([192.168.236.151]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1PGZNi-0000vR-KZ for users@activemq.apache.org; Thu, 11 Nov 2010 07:48:10 -0800 Date: Thu, 11 Nov 2010 07:48:10 -0800 (PST) From: ChicagoBob123 To: users@activemq.apache.org Message-ID: <1289490490630-3038038.post@n4.nabble.com> Subject: How to Purge a queue via TCP/NMS or HTTP MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org How do you purge a queue via NMS or HTTP Rest? The Apache notes on this are very fuzzy but they seem to indicate there is no way from NMS or HTTP Rest to do this only using Java code via getDestinations(). So my questions are many. Can I purge the queue programatically via NMS or HTTP Rest? If Yes does anyone have a step by step on how to get this done? If you would like to know why its simple. Prior to producing new information for a consumer I need to clear out any prior information. The queue is consumed infrequently by an HTTP client which can get disconnected or time out. I tried to mimic the link on the admin page but it contains a secret code in the link which I cant find any information on how its generated or how I can get and use one of my own. Thanks, -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-Purge-a-queue-via-TCP-NMS-or-HTTP-tp3038038p3038038.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.