One problem with writing a custom shutdown strategy is that in DefaultCamelContext, the "stopRoute" and "shutdownRoute" methods are synchronized.
Or how else could I circumvent this 'serialization'? Claus Ibsen-2 wrote > Hi > > No the default shutdown is as-is. You would need to build your custom > shutdown, and that can be a bit more complex if some routes have inter > related dependencies, so you cannot shutdown X before Y etc. > > On Thu, Jul 14, 2016 at 12:01 PM, Martin Lichtin > < > lichtin@.com > > wrote: >> Is there a way to shutdown some routes in a context concurrently? >> The default shutdown strategy seems to handle one route after the other. >> To speed things up, I'm looking for a way to shutdown a set of routes at >> once. > > > > -- > Claus Ibsen > ----------------- > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 -- View this message in context: http://camel.465427.n5.nabble.com/How-to-concurrently-shutdown-routes-tp5785106p5785302.html Sent from the Camel - Users mailing list archive at Nabble.com.