We start our camel
(kestrel queue) consumers running inside a spring context from maven as mvn camel:run
.
We used to kill this using pkill -9 -f camel
. But now, we are moving more critical components into queue and cannot afford killing consumers mid way.
Camel has provision for graceful shutdown but the question is how do we stop consumers, will using a pkill camel
kill it gracefully? What is the common practice to shutdown camel consumers?