Claus Ibsen created CAMEL-9250:
----------------------------------

             Summary: Configure AllowUseOriginalMessage to be disabled by 
default if not in use on error handler
                 Key: CAMEL-9250
                 URL: https://issues.apache.org/jira/browse/CAMEL-9250
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 2.17.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to