If you see, I have a do-while monitoring the value of the var CamelBatchComplete, then when is true, stop and remove the route from Camel Context. I don't like this.
My question is, there a better way to stop and remove the route when the Batch finish? Using the RouteBuilder for example. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-stop-a-dynamic-route-tp5783385p5783389.html Sent from the Camel - Users mailing list archive at Nabble.com.