camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: What's the proper way to abandon a message in processor.
Date Tue, 25 Feb 2014 09:18:46 GMT
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.guo@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: cibsen@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

Mime
View raw message