On Tue, Nov 15, 2011 at 12:42 PM, Mohammad Shadab Ali
<[email protected]> wrote:
> Hi All,
>
> Is there a way to stop processing some messages, but not stopping the route?
>
You can use the .stop() in the DSL, or mark the exchange to stop from Java code.
// mark the exchange to stop continue routing
exchange.setProperty(Exchange.ROUTE_STOP, Boolean.TRUE);
>
> Regards,
> Shadab
>
>
>
>
>
>
> ________________________________
> ***The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. Any review,retransmission,dissemination or other use of, or taking
> of any action in reliance upon, this information by persons or entities other
> than the intended recipient is prohibited. If you received this in error,
> please contact the sender and delete the material from any computer.***
>
--
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/