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

Configure AllowUseOriginalMessage to be disabled by default if not in use on error handler

    XMLWordPrintableJSON

Details

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

    Description

      When people start Camel they set this INFO log:

      AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.

      As the most normal use case is to not use this, then we should flip the default to let it be disabled out of the box, unless the error handler has been configured to access it.

      And then on the Java api on UoW where you can access it we will throw an exception if the option is disabled.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: