You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Alessio D'Innocenti <ka...@katamail.com> on 2006/07/24 15:49:40 UTC

Maybe ExchangeMessage bug???

Hi All!!
In the MessageExchangeImpl class the toString method changes the
internal status of the object.
The method change the content of messages "in", "out" and "fault" to an
instance of DOMSource.
I'm wondering: Is it right? Or is it a bug?


Re: Maybe ExchangeMessage bug???

Posted by Guillaume Nodet <gn...@gmail.com>.
This is intented for debugging purpose (it should only occur at debug
level).
This behavior also happen if the exchange is serialized for some reason
(when using jms / jca flow)
Btw, a component should never expect a given source implementation.
You should use the SourceTransformer if you can only deal with one Source
type.

Cheers,
Guillaume Nodet

On 7/24/06, Alessio D'Innocenti <ka...@katamail.com> wrote:
>
> Hi All!!
> In the MessageExchangeImpl class the toString method changes the
> internal status of the object.
> The method change the content of messages "in", "out" and "fault" to an
> instance of DOMSource.
> I'm wondering: Is it right? Or is it a bug?
>
>