The problem appears in my processor "enrichProcessor".
When I use "MESSAGE" as dataFormat, I can convert the body of the "IN Message" into a String object and later (after conversion as StreamSource…) parse it with an xsl stylesheet.
But, when I use "PAYLOAD" as dataFormat, this conversion (into String object) is impossible .
Is someone can explain me the difference?
Thanks in advance.
Re: How to parse in message body when dataFormat is PAYLOAD ?
The MESSAGE data formate will put a stream object into the in message body.
The PAYLOAD data formate will parse the stream object ,take off the soap
envelop , put into the body message with a list of elements.
If you want to turn the PAYLOAD message into a string object, we need to
add a converter for turning the elements list into a string object.