|
Home > Archive > BizTalk Server Orchestration > May 2006 > why are messages immutable ?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
why are messages immutable ?
|
|
| djovisic@gmail.com 2006-05-29, 5:21 pm |
| 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
| |
| Randal van Splunteren 2006-05-29, 5: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
|
|
|
|
|