See control bus EIP pattern http://camel.apache.org/controlbus.html
You can then set all the routes to not autostart, and then upon startup you run your initialization logic that reads from the database which routes to start using the control bus On Tue, Jan 31, 2017 at 3:07 PM, fabryprog <fabrizio.spat...@bizmate.it> wrote: > Hello, > > I am using camel 2.18 with spring xml application context and i have a > database table with follow settings > > routeId | phase > > route1 | installation > route2 | standard > route3 | installation > > Into my example, on installation phase i would start only route1, route3 and > skip route2. > > How can do it? > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-route-programmatically-skipping-tp5793294.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2