You can stop it by setting the stop property on the exchange. See the box in top of this page http://camel.apache.org/intercept
On Tue, Feb 25, 2014 at 9:30 AM, simafengyun <yifeng....@citi.com> wrote: > Hi, > > Some message are not useless. So I want to abandon it in the processor. > *Does anybody know what's the proper way to abandon a message except using > filter?* > > ex: > <route id="realtimeRoute" startupOrder="10"> > <from uri="vantagemsgTimer"/> > <to id="ToMsgQueueProcessor1" uri="msgQueueProcessor1"/> > <to id="ToMsgQueueProcessor2" uri="msgQueueProcessor2"/> > </route> > > If a message doesn't satisfy some conditions in the processor > msgQueueProcessor1, so I don't hope it still will be passed to the next > processor msgQueueProcessor2. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/What-s-the-proper-way-to-abandon-a-message-in-processor-tp5747915.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io