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

Graceful shutdown - Add kill operation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.15.0
    • Fix Version/s: Future
    • Component/s: camel-core, jmx
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When Camel is doing a graceful shutdown, it may take some time to shutdown to drain inflight exchanges. And as that by default has a timeout of 300 seconds that is counting down. Then sometimes end users dont bother, eg its a test environment etc. Then we should have a JMX / Java API on graceful shutdown to terminate this timeout asap. Its basically to cancel the future task to do it.

      We can then also have a karaf commands as well. Maybe its reusing the stop command but with a --kill flag.

      If kill is a too extreme wording, we could use force stop or something instead.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: