You can in spring boot then create your camel context's manually and then add the route builders to those camel contexts also manually. Then dont use @Component or @ContextName on the RouteBuilder classes.
On Sun, Jul 9, 2017 at 9:35 PM, labo <[email protected]> wrote: > We have a huge amount of integration routes and a migration to spring boot > with one camel root per app would end with hundreds of virtual machines. > Therefore I think about spring boot apps with functional grouped routes. I > know that I can start / stop routes with jolokia but when I split a route > and connect them with direct endpoints I have to start / stop the "main" > route and all subroutes by myself. Starting the whole (single) context would > stop all routes which does not fulfil the requirements. A spring boot app > with multiple contexts would.... > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-can-I-start-more-than-one-Camel-Context-in-Spring-Boot-tp5805707p5806668.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
