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

allowUseOriginalMessage not configurable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1, 3.1.0
    • came-core, camel-core
    • None
    • Unknown

    Description

      Context
      Using spring boot container with camel 3 i'm unable to use original message i get this exception

      Error executing reactive work due to AllowUseOriginalMessage is disabled. Cannot access the original message.. This exception is ignored
      

      Even doing this:

       getContext().setAllowUseOriginalMessage(true);
      

      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

      Attachments

        1. originalbody.zip
          17 kB
          michael elbaz

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: