Camel-CXF endpoint using CXF_MESSAGE dataformat with MTOM

Solution Unverified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.