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 <[email protected]> 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: [email protected] Web: http://fusesource.com Twitter: jstrachan, fusenews Blog: http://macstrac.blogspot.com/ Open Source Integration
