Hello Claus, 

thanks for your quick answer!


Claus Ibsen-2 wrote
> See this FAQ how to stop a route from a route
> http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html

I've seen these examples but is it necessary to start a new thread? I've
seen examples with the following procedure at a couple of places --
including the Camel book:


> .process(new Processor() {
> public void process(Exchange exchange) throws Exception {
>     exchange.getContext().getInflightRepository().remove(exchange);
>     exchange.getContext().stopRoute("manual");
> }
> });






--
View this message in context: 
http://camel.465427.n5.nabble.com/stopRoute-Waiting-as-there-are-still-X-inflight-and-pending-exchanges-to-complete-tp5729348p5729351.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to