[HEADS UP] - Graceful shutdown from standalone Camel via camel-main

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[HEADS UP] - Graceful shutdown from standalone Camel via camel-main

Claus Ibsen-2
Just a heads up that the shutdown of camel when using camel-main was
flawed in 3.x.

I just pushed fixes https://issues.apache.org/jira/browse/CAMEL-15343
so when SIGTERM then we know does allow camel context to complete its
graceful shutdown this can happen when you only have daemon threads
so the jvm terminates quickly eg you see it on camel-k too when you
stop an integration, there is no logs of graceful shutdown.

Other runtimes like camel-quarkus, karaf, spring-boot etc shutdowns
nicely already.


--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2