Camel-CXF endpoint using CXF_MESSAGE dataformat with MTOM
Issue
-
We'd like to use Camel-CXF with
CXF_MESSAGE
dataformat. We're using this format because we want to access the raw soap message whilst leveraging CXF interceptors. -
When using
CXF_MESSAGE mode
, the route receives an instance of SOAPMessage. We then convert it into a String using convertBodyTo(String.class), so we can manipulate the request using XSLT.
This works fine when the message isn't using MTOM but does not work otherwise.
Environment
- Red Hat JBoss Fuse
- 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.