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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.18.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: