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

Graceful shutdown - Add logic to detect slow/hung in-flight exchanges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Later
    • 2.6.0
    • 3.0.0
    • None
    • None

    Description

      We should improved the graceful shutdown to be more verbose and provide more detailed information when it appears in-flight exchange(s) appear to be hung.

      We have the created timestamp on the exchange, and if we let in flight repo, track each exchange, then we can grab the exchange and thus know how long time it currently has been in-flight. And then if the time is > threshold, we can output that in the logs.

      It requires the in flight registry now also keep track of each exchange. We may consider this as an optional feature you should enable, as it requires us to put/remove Exchange into a ConcurrentMap to keep track of each exchange.

      Attachments

        1. Camel-3631.patch
          23 kB
          Ashwin J. Karpe

        Issue Links

          Activity

            People

              akarpe Ashwin J. Karpe
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: