Is the original xml message available given a camel Exchange for a soap
message that contains a CxfMessage with POJO dataFormat?

Specifically, working in a custom processor, if the inbound message is a
CxfMessage with MESSAGE dataFormat, the body is a copy of the original
raw message (accessible via exchange.getIn().getBody()).  However, if
the inbound message is POJO dataFormat, then getBody() only returns a
list containing the Java parameters for the operation being invoked.  Is
there anyway to get at the raw xml message when the inbound message is
in POJO dataFormat?  

 

Also, is there a way to determine the dataFormat (MESSAGE, PAYLOAD, or
POJO) from the camel Exchange or CxfMessage?

 

-Mike

 

 

Reply via email to