Hello All, I decided to set all routes autostart to false and then implement an ApplicationListener:
@Component public class MyListener implements ApplicationListener<ContextRefreshedEvent> { @Autowired(required=false) private CamelContext camelContext; @Override public void onApplicationEvent(ContextRefreshedEvent event) { This gets a camel context wired into it and you can get the Spring profiles: event.getApplicationContext().getEnvironment().getActiveProfiles() >From there you can selectively start routes as you like. Thanks! Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-autostartup-with-Spring-Profiles-tp5764047p5764062.html Sent from the Camel - Users mailing list archive at Nabble.com.