Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18012

Fixed / Hard coded (additional) timeout value in DefaultMainShutdownStrategy should be made configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.14.2, 3.16.0
    • 3.17.0
    • camel-main
    • None
    • Unknown

    Description

      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)!

      Attachments

        1. image-2022-04-26-10-13-37-605.png
          134 kB
          Steffen Brauns

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              sbrauns Steffen Brauns
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: