Camel-CXF endpoint using CXF_MESSAGE dataformat with MTOM

Solution Unverified - Updated -


  • 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.


  • Red Hat JBoss Fuse
    • 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content