Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-494

Camel route should avoid returning null out message when receiving InOut exchange

    XMLWordPrintableJSON

Details

    Description

      When a Camel provider endpoint receives an InOut exchange, it depends on the Camel route to fill in the out message. Camel itself is far less strict in its MEP handling and it doesn't necessarily provide a value there. This will result in sending back the InOut exchange without an out NormalizedMessage, potentially confusing other endpoints.

      If no out message has been set, I think copying the resulting in message would make a sensible default. This is also what Camel itself does by default when an out-capable exchange doesn't have the out message set.

      Attachments

        Activity

          People

            gertvanthienen Gert Vanthienen
            gertvanthienen Gert Vanthienen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: