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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-core
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            acosentino Andrea Cosentino
            acosentino Andrea Cosentino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment