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

Camel-Core: DefaultShutdownStrategy, pass the logInflightExchangesOnTimeout to the ShutdownTask

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Actually we have the logInflightExchangesOnTimeout set to true as default:

      https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java#L126

      in the ShutdownTask the parameter is forced to false and then if you do not enable debug logging it won't log the inflight exchanges details.

      https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java#L631

        Attachments

          Activity

            People

            • Assignee:
              ancosen Andrea Cosentino
              Reporter:
              ancosen Andrea Cosentino
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: