Re: Recommendation/Best Practice for shutting down Camel Spring Boot App

2018-04-05 Thread Zoran Regvart
Hi Jonathan, On Wed, Apr 4, 2018 at 10:20 PM, Jonathan Cook wrote: > But it isn't clear, do I have to create some kind of custom shutdown hook > which I can call externally and stop the camel context or shut the routes > down gracefully or does something in Camel

Re: Recommendation/Best Practice for shutting down Camel Spring Boot App

2018-04-04 Thread Mark Nuttall
even though your app is not a web app, adding "web" and actuator add value for things like metrics and health status and things like this. Why not just add those two items? That is what i do. And fyi, you might ask this on the spring forums as this really is a Spring Boot question. On Wed,

Recommendation/Best Practice for shutting down Camel Spring Boot App

2018-04-04 Thread Jonathan Cook
Hello, I was wondering if there was a way to shutdown a camel application which uses Spring Boot in a graceful way? I've seen this page - http://camel.apache.org/graceful-shutdown.html but it doesn't really explain it. For example I have a shell script for starting the app which runs my