You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Steffen Brauns (Jira)" <ji...@apache.org> on 2022/04/26 08:13:00 UTC

[jira] [Created] (CAMEL-18012) Fixed / Hard coded (additional) timeout value in DefaultMainShutdownStrategy should be made configurable

Steffen Brauns created CAMEL-18012:
--------------------------------------

             Summary: Fixed / Hard coded (additional) timeout value in DefaultMainShutdownStrategy should be made configurable
                 Key: CAMEL-18012
                 URL: https://issues.apache.org/jira/browse/CAMEL-18012
             Project: Camel
          Issue Type: Improvement
          Components: camel-main
    Affects Versions: 3.16.0, 3.14.2
            Reporter: Steffen Brauns


Within method DefaultMainShutdownStrategy#handleHangup() there is a fixed additional 5 seconds timeout value to allow camel to shutdown gracefully (see attached screenshot). In my usage of camel this 5 seconds aren't enough (I need in some cases e.g. 30 seconds), otherwise my application cannot shutdown gracefully. This additional timeout value should be made in some way configurable (at least with a setter, constructor, better with a command line option for org.apache.camel.spring.Main)!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)