michael elbaz created CAMEL-14257:
-------------------------------------
Summary: allowUseOriginalMessage not configurable
Key: CAMEL-14257
URL: https://issues.apache.org/jira/browse/CAMEL-14257
Project: Camel
Issue Type: Bug
Components: camel-core, camel-core-engine
Affects Versions: 3.0.0
Reporter: michael elbaz
*Context*
Using spring boot container with camel 3 i'm unable to use original message i
get this exception
{code:java}
Error executing reactive work due to AllowUseOriginalMessage is disabled.
Cannot access the original message.. This exception is ignored
{code}
Even doing this:
{code:java}
getContext().setAllowUseOriginalMessage(true);
{code}
I observe using debugger that
`org.apache.camel.impl.engine.AbstractCamelContext.isAllowUseOriginalMessage()`
is called twice at startup first allowUseOriginalMessage is true then is become
false
--
This message was sent by Atlassian Jira
(v8.3.4#803005)