[
https://issues.apache.org/jira/browse/CAMEL-18095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-18095.
---------------------------------
Resolution: Won't Fix
Its not possible in the JDK to capture a 2nd terminate signal while shutdown
hooks are running. The JVM internally synchronize on its own shutdown class so
new threads will block and wait while pending hooks are in progress
> camel-main - Terminate JVM quicker if user is double tapping ctrl + c
> ---------------------------------------------------------------------
>
> Key: CAMEL-18095
> URL: https://issues.apache.org/jira/browse/CAMEL-18095
> Project: Camel
> Issue Type: Improvement
> Components: camel-main
> Reporter: Claus Ibsen
> Priority: Major
>
> During development and whatnot, then you may want to be able to quicker
> terminate if the user presses ctrl +c multiple times.
> If we can detect this "stress" and then trigger camel shutdown to go quicker
> - as today the graceful shutdown is waiting for inflight to complete, and
> this can sometimes get stuck and you have that ... 30 sec ... 29 sec ... 28
> sec.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)