Hi,
I have a Sender and Receiver components (both extending
ComponentSupport). The sender sends a message with the Source content as
a XStreamSource. My understanding from the documentation is that the
receiver can pick up the Source content of the in message as the
original XStream pojo (avoiding the extra marshalling). However, in the
case of a different receiver, not aware that the source is a JavaSource,
it can use the DOM representation of the content. However, from all my
experiments, the content of the Source of the incoming message at the
receiver is always DOMSource, and I can't get hold of the original POJO ...
Can anyone point out where I'm going wrong. I've looked through the
testcases for something to help me out, but can't find something doing
this exactly.
Thanks,
Roger
- XStreamSource, JavaSource and DOMSource ... Roger Menday
-