You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by WDS <wo...@gmail.com> on 2010/09/14 19:55:31 UTC
RecipientList and Message references
If one recipient in the recipientList modifies the message body, each
recipient sees the modified message. How to avoid this?
THANKS!
Re: RecipientList and Message references
Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Sep 15, 2010 at 7:01 PM, WDS <wo...@gmail.com> wrote:
> A DefaultMessage with a simple pojo in body.
>
Oh course the pojo is the same because Camel cannot just clone your
pojo. To do that your pojo must suppose Clonable, which normally isn't
used very much in Java.
> camel 2.2 and 2.3
>
> On Wed, Sep 15, 2010 at 3:42 AM, Claus Ibsen <cl...@gmail.com> wrote:
>> On Tue, Sep 14, 2010 at 7:55 PM, WDS <wo...@gmail.com> wrote:
>>> If one recipient in the recipientList modifies the message body, each
>>> recipient sees the modified message. How to avoid this?
>>>
>>
>> What kind of message body do you have?
>> And what version of Camel are you using?
>>
>>>
>>> THANKS!
>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Author of Camel in Action: http://www.manning.com/ibsen/
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus
Re: RecipientList and Message references
Posted by WDS <wo...@gmail.com>.
A DefaultMessage with a simple pojo in body.
camel 2.2 and 2.3
On Wed, Sep 15, 2010 at 3:42 AM, Claus Ibsen <cl...@gmail.com> wrote:
> On Tue, Sep 14, 2010 at 7:55 PM, WDS <wo...@gmail.com> wrote:
>> If one recipient in the recipientList modifies the message body, each
>> recipient sees the modified message. How to avoid this?
>>
>
> What kind of message body do you have?
> And what version of Camel are you using?
>
>>
>> THANKS!
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>
Re: RecipientList and Message references
Posted by Claus Ibsen <cl...@gmail.com>.
On Tue, Sep 14, 2010 at 7:55 PM, WDS <wo...@gmail.com> wrote:
> If one recipient in the recipientList modifies the message body, each
> recipient sees the modified message. How to avoid this?
>
What kind of message body do you have?
And what version of Camel are you using?
>
> THANKS!
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus