[ https://issues.apache.org/jira/browse/CAMEL-8532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henryk Konsek resolved CAMEL-8532. ---------------------------------- Resolution: Fixed Resolved in 472903bf2dc069b7cd47dcdbfa957603092c282e. Now {{FatJarRouter}} blocks the main thread by default, while for non-{{FatJarRouter}} folks can use the following bean: {code} public static void main(String... args) { ApplicationContext applicationContext = new SpringApplication(MyApp.class).run(args); CamelSpringBootApplicationController applicationController = applicationContext.getBean(CamelSpringBootApplicationController.class); applicationController.blockMainThread(); } {code} > Spring Boot applications should block the main thread of the execution > ---------------------------------------------------------------------- > > Key: CAMEL-8532 > URL: https://issues.apache.org/jira/browse/CAMEL-8532 > Project: Camel > Issue Type: Improvement > Reporter: Henryk Konsek > Assignee: Henryk Konsek > Fix For: 2.16.0 > > > Bootified Camel routers are supposed to block the main thread of the > application, so even for the empty router folks should be able to just > execute `java -jar myapp.jar` and the application will wait for the Ctrl+C. -- This message was sent by Atlassian JIRA (v6.3.4#6332)