My Spring Boot application is not a web server, but it\'s a server using custom protocol (using Camel in this case).
But Spring Boot immediately stops (gracefully) a
This is now made even simpler.
Just add camel.springboot.main-run-controller=true to your application.properties
camel.springboot.main-run-controller=true