camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Yoshida <>
Subject Re: Getting entire Soap Message with header and body in Payload mode
Date Fri, 11 Jul 2014 09:10:36 GMT
That would be one possibility but you would be losing the exact form
(the serialised wire message isn't the same as the original wire

If you really need to get a cloned wire message at your camel route,
one option would be to write a CXF interceptor to capture the original
message and pass it to the camel route as an additional runtime
context object. Maybe, actually I think there is no other option.

If a DOM object is acceptable, you can also write a CXF interceptor to
grab it within CXF and pass it to camel.

regards, aki

2014-07-01 19:16 GMT+02:00 ychawla <>:
> Hello All,
> We use payload mode to process our CXF messages.  It is very convenient and
> will properly process the Soap Headers, SAML assertions, WS-Security headers
> etc.
> I have a requirements to get the entire raw Soap message in my camel route
> and call a processor with it.  There are other ways to do this, but the
> requirement explicitly states that the raw soap message is required.
> How can I get the entire raw soap message in Payload mode?  I guess I could
> reconstruct it manually by looping through the soap headers and re-creating
> the DOM but is there another way to get at it?
> Thanks,
> Yogesh
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

View raw message