|
Home > Archive > BizTalk Server Orchestration > February 2005 > How to catch and process suspended message
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 |
How to catch and process suspended message
|
|
|
| Hi, how should I catch the message when it suspended?
Thanks for any advice, David.
| |
| Stephen W. Thomas 2005-01-21, 2:49 am |
| Hello.
The WMI has an MSBTS_MessageInstanceSuspendedEvent that you can listen to.
Then, you are able to saved tracked messages to a location along with the
message context.
I have a very basic sample that might help you out available here:
http://www.biztalkgurus.com/downloads/SampleWMI.zip
Hope this helps.
Stephen W. Thomas
http://www.geekswithblogs.net/sthomas
"David" wrote:
> Hi, how should I catch the message when it suspended?
> Thanks for any advice, David.
>
>
| |
|
| Thank you very much, I try it is OK!
But I want to modify the original messages (nameed {xxx}_part.out or
{xxx}_body.out), rename it to {xxx}.xml, trigger another orchestration
and do something ( like send a notification email to somebody )...etc.
How should I modify your code to fit my requestment above?
Thanks again, you give me a BIG hand really!
David.
| |
| Stephen W. Thomas 2005-01-24, 5:50 pm |
| Hello.
I think the best way would be to have a Receive Function to watch the
folder. Then, sort out the message vs the context. You could reprocess the
messages at that point and just ignore the context messages.
I do not know a way to write out just the messages….
Stephen W. Thomas
http://www.geekswithblogs.net/sthomas
"David" wrote:
> Thank you very much, I try it is OK!
>
> But I want to modify the original messages (nameed {xxx}_part.out or
> {xxx}_body.out), rename it to {xxx}.xml, trigger another orchestration
> and do something ( like send a notification email to somebody )...etc.
>
> How should I modify your code to fit my requestment above?
> Thanks again, you give me a BIG hand really!
>
> David.
>
>
| |
|
| Thanks for your example very much.
David.
|
|
|
|
|