05-29-06 10:21 PM
Hello Darko,
Message must be immutable in biztalk because there can be multiple (more
than one) subscribers for the message. There is only one physical message
in the messagebox db or in memory that can have multiple references to it.
If one of the subscribers should change the message this would also impact
the other subscribers. That is way you have to make a "copy" of a message
before changing it. Biztalk internally also works likes this. If a message
needs to be changed Biztalk will create a copy for this message first.
HTH,
Randal van Splunteren
http://biztalkia.blogspot.com
> I know that messages are immutable, but what is the reasoning behind
> this ? I guess it's because of persistance. But looking into BizTalk
> documentation there is no mention about a persistance point after each
> creation of a message, only after leaving scopes and so on. Can
> someone elaborate this, please.
>
> Regards,
> Darko
[ Post a follow-up to this message ]
|