Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-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 804C410A4D for ; Wed, 13 Nov 2013 14:07:03 +0000 (UTC) Received: (qmail 3778 invoked by uid 500); 13 Nov 2013 14:07:01 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 3579 invoked by uid 500); 13 Nov 2013 14:07:00 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 3569 invoked by uid 99); 13 Nov 2013 14:06:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Nov 2013 14:06:59 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.strachan@gmail.com designates 209.85.128.178 as permitted sender) Received: from [209.85.128.178] (HELO mail-ve0-f178.google.com) (209.85.128.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Nov 2013 14:06:53 +0000 Received: by mail-ve0-f178.google.com with SMTP id jy13so322775veb.23 for ; Wed, 13 Nov 2013 06:06:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=vQ6al1Ve5vm6JYhPMU24tRHSupudmQ+T1ORmgQFh2pg=; b=xvynCRiQsFadDGcVLaHNytshHqH4kQW9eVLz5uFwsD7o1/1Np2oWz3Yy++HszqNSMr jix9RT6gms/KBkH/bpkh5R7lNoRrP78p30vRuIDrGGWBU+JfuDfxo5HggEP0KLVuVZ2A 9PPQYmDapfDGn/uXdHosxdRU974QTfw7umviiDX0np2/ChGeDjGC6LPedG5/Kpi2mI1N wWp9ijHATFnhd7H/usEUda/FeOCEl2S835ARHkLT9Ir9d3C7n7oBaZLyQO1sBINFdGml I+cK9YO61J47tuk+swZAQ6wtWnn1lGETZju3RUBGRxgzrp1+yzstSSgYxuIcD2gKlH5f Yjhg== X-Received: by 10.52.171.79 with SMTP id as15mr29726821vdc.1.1384351592903; Wed, 13 Nov 2013 06:06:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.155.33 with HTTP; Wed, 13 Nov 2013 06:06:12 -0800 (PST) In-Reply-To: <1384348710956-5743182.post@n5.nabble.com> References: <1384348710956-5743182.post@n5.nabble.com> From: James Strachan Date: Wed, 13 Nov 2013 14:06:12 +0000 Message-ID: Subject: Re: Camel drop equialent? To: "users@camel.apache.org" Content-Type: multipart/alternative; boundary=047d7b6d91d4f07e8904eb0f78ff X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6d91d4f07e8904eb0f78ff Content-Type: text/plain; charset=ISO-8859-1 Which JMS provider? Most JMS providers have support for clearing a queue via JMX (e.g. ActiveMQ does). On 13 November 2013 13:18, defy wrote: > Hello, > > I tried to setup camel interceptor which would drop all messages on queue: > > > > > > > > > This work pretty well but consumes all my cpu cores at rate of 15 000 > messages per minute. Is there any better way how to drop all messages using > camel routes? > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-drop-equialent-tp5743182.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- James ------- Red Hat Email: jstracha@redhat.com Web: http://fusesource.com Twitter: jstrachan, fusenews Blog: http://macstrac.blogspot.com/ Open Source Integration --047d7b6d91d4f07e8904eb0f78ff--