camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Is there a way to make camel:route-stop persist through a deploy?
Date Thu, 05 Nov 2015 11:09:00 GMT
No that is not possible.

You would need to build your own way of keeping that state somewhere
and decide whether a camel route should start or not.



On Thu, Nov 5, 2015 at 10:17 AM, Kari Pahula <kari.pahula@avoltus.com> wrote:
> Hi.
>
> I'm not sure whether this is more of a Karaf or a Camel question. I hope
> that someone on this list would know about this.
>
> I have a bundle with several camel routes defined in my blueprint.xml. I
> may need to stop some of those in karaf with camel:route-stop. That works
> fine but once I deploy my bundle again all the routes are started again. Is
> there a way to make Karaf or Camel persist my setting through a deploy? I
> wouldn't want to go add autoStartup="false" to my blueprint.xml every time
> I toggle a route.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message