camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ychawla <>
Subject Camel Route autostartup with Spring Profiles
Date Thu, 12 Mar 2015 15:24:13 GMT
Hello All,
I am looking to dynamically start up routes based on Spring profiles
properties.  I am aware that you can control this via a boolean on the route
and you can define a property to make it dynamic.

<route autoStartup="false">

I have a scenario where I would like to allow the implementer to choose
which beans to dynamically start through a config file and I am already have
the user specify Spring Profiles like this:


Where the variable profilesActivatedFromPropertiesFile can be for example:
ServiceA, ServiceB.

I would prefer to not have to have additional configuration like this:


This way the user activates beans using profiles and route startup using

Is there a way to bridge these concepts together and autostart a route based
on a Spring profile?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message