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

ShutdownStrategy - Add option to suppress logging after context has been stopped in case of aggressive shutdown

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.12.0
    • camel-core
    • None
    • Unknown

    Description

      See CAMEL-6685

      And also
      http://camel.465427.n5.nabble.com/Discussion-around-the-bug-CAMEL-6685-tp5738305.html

      If shutting down camel context and a timeout is hit, and there is still inflight message, then we could add a new option so end users can turn off any logging after camel context state = stopped. Then any inflight messages that may gets rejected or whatnot will not be logged.

      This requires that we pass on camel context to various exceptionhandler and error handler, camel logger etc so they can check the state of camel context before logging.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: