Ok, so I'll use:
029public void process(Exchange exchange) throws Exception {
030// mark the exchange to stop continue routing
031exchange.setProperty(Exchange.ROUTE_STOP, Boolean.TRUE);
032}
Thanks for the quick response! :)
--
View this message in contex
Hi
See the StopProcessor. You can set a property on the exchange, to tell
it to stop continue routing the exchange.
On Thu, Mar 3, 2011 at 4:46 PM, enalposi wrote:
> We are extending DelegateProcessor to fiddle with the payload before it hits
> the business logic.
>
> How do we correctly stop a