camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From labo <>
Subject How can I start more than one Camel Context in Spring Boot ?
Date Mon, 03 Jul 2017 15:16:05 GMT

I want to start more than one camel context in a spring boot application. 

I declare two contexts like 

        class MultiOneCamelContext extends DefaultCamelContext { 
            void customize() { 
            SimpleRegistry reg = new SimpleRegistry(); 
            PropertiesComponent pc = new PropertiesComponent(); 

and create the routes like 

public class MultiOneRoute extends RouteBuilder{ 

        public void configure() throws Exception { 

but my routes are always assigned to context camel-1 

Thank you

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

View raw message