I have a camel adapter with a CXF enpoint for the input (from) that is configured like this:
<camel-cxf:properties>
<entry key="dataFormat" value="PAYLOAD"/>
<entry key="allowStreaming" value="true"/>
<entry key="relayHeaders" value="false"/>
</camel-cxf:properties>
The SOAP input contains the following element in the payload:
<foo>here is an arrow -></foo>
However the output looks like this:
<foo>here is an arrow -></foo>
I know it's not invalid. XML does not require to escape >. It is "only" highly recommended (see this SO question for details).
But I do not want the payload being altered. CXF should only cut off the SOAP envelope and keep everything in it as it was. Can I disable parsing/re-serialization of the XML payload?