Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In 1.x SOAP headers are not propagated to and from Camel Message headers. Users have to go deeper into CXF APIs to access SOAP headers. Also, accessing the SOAP headers in a request message is slight different than in a response message. The InsertRequestOutHeaderProcessor and InsertResponseOutHeaderProcessor are as follow.

Wiki Markup
{snippet:id=InsertRequestOutHeaderProcessorSOAPHeaderProcessors|lang=java|url=camel/branches/camel-1.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/soap/headers/CxfMessageHeadersRelayTest.java}

...