Accumulating messages in MessageBox, Lifespan of the messages
- From: "Leonid Ganeline" <leo_gan_57@xxxxxxxxxxx>
- Date: Wed, 14 Nov 2007 13:18:37 -0800
Hi,
http://geekswithblogs.net/LeonidGaneline/archive/2007/11/14/116853.aspx
I hit this problem when were creating the orchestration to periodically poll
the outer service. The orchestration was with loop inside.
The problem was I created the message inside this loop. And the instance of
this message were not disposed after each cycle.
The orchestration was created for running long time without restart. That
means that this orchestration was collecting enormous amount those
indisposed messages. And all those messages were inside the MessageBox, of
course. It was wrong!
After long and very interesting investigation the issue was resolved.
The source of the problem was in the transactional scope where I created the
indisposable message. This scope was inside the loop.
It is interesting but a lifespan of the message created inside the
transactional scope and the message created outside the transactional scope
is different. The first one is disposed only after closing the orchestration
instance. The second one is disposed after last using. (I think so but could
not find a hint in the BizTalk information sea.)
--
Regards,
Leonid Ganeline [BizTalk MVP]
http://geekswithblogs.net/leonidganeline/
.
- Prev by Date: Re: Mapping - one element in to many
- Next by Date: Re: Mapping - one element in to many
- Previous by thread: Re: Mapping - one element in to many
- Next by thread: RE: Send flatfile use filename constructed from message-info
- Index(es):
Relevant Pages
|