camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Lichtin <lich...@yahoo.com>
Subject Re: How to concurrently shutdown routes
Date Wed, 20 Jul 2016 20:01:38 GMT
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
> &lt;

> lichtin@.com

> &gt; 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.

Mime
View raw message