Ok, so I'll use:

029        public void process(Exchange exchange) throws Exception {
030            // mark the exchange to stop continue routing
031            exchange.setProperty(Exchange.ROUTE_STOP, Boolean.TRUE);
032        }

Thanks for the quick response! :)

--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-stop-an-Exchange-in-a-Processor-tp3408126p3408162.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to