camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <james.strac...@gmail.com>
Subject Re: Camel drop equialent?
Date Wed, 13 Nov 2013 14:06:12 GMT
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 <michal.gubik@gmail.com> wrote:

> Hello,
>
> I tried to setup camel interceptor which would drop all messages on queue:
>
> <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
>     <route id="BlackholeTest">
>         <from uri="broker:queue:test.broker.queue"/>
>         <stop/>
>         </route>
> </camelContext>
>
> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message