You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "michael elbaz (Jira)" <ji...@apache.org> on 2019/12/04 13:47:00 UTC

[jira] [Updated] (CAMEL-14257) allowUseOriginalMessage not configurable

     [ https://issues.apache.org/jira/browse/CAMEL-14257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

michael elbaz updated CAMEL-14257:
----------------------------------
    Description: 
*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



  was:
*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




> 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
>            Priority: Major
>
> *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)