>From Camel 2.17 onwards you can turn on camel.main-run-controller=true in your application.properties / yaml file
https://github.com/apache/camel/blob/master/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java#L63 In older releases you would need to do in that gist You can also use spring-boot-web-starter then the jvm keeps running On Sat, Mar 26, 2016 at 9:02 AM, geoHeil <[email protected]> wrote: > Hi, > > I could not get auto configuration to work in a Spring Boot 1.3.3 > application https://gist.github.com/geoHeil/381ef16a97ff5a1b5ac0 so far I > use the „manual“ way but really would like to learn how to use auto > configuration. > > How would I get hold of the CamelSpringBootApplicationController to achieve > the following of my manual approach: > // START APPLICATION > LOGGER.info("START MAIN THREAD"); > cSACC.blockMainThread(); > > Thank you for help, > Georg > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Context-Auto-Configuration-tp5779752.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
