BizTalk Server Orchestration - Suspended Message Emailing...

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > September 2004 > Suspended Message Emailing...





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 Suspended Message Emailing...
Mig

2004-09-03, 5:49 pm

Hi,

Is there any easy way I can pick up Suspended messages from Messagebox using
an orchestration.

I want to implement emailing to alert admin staff should a message fail
validation in a Receive Location. Obviously I do not want to implement MOM
stuff just yet. In BTS 2002 I could write a simple script to read the
Suspend Queue. Is there as simple a way to achieve this with BTS 2004?

I've got an orchestration made but I do not know what to configure it to
look for in Messagebox - if even it is possible to do it this way.

Any help is much appreciated.

thanks,
Conor


Martijn Hoogendoorn

2004-09-04, 5:47 pm

On Fri, 3 Sep 2004 16:30:27 +0100, Mig wrote:

> Hi,
>
> Is there any easy way I can pick up Suspended messages from Messagebox using
> an orchestration.
>
> I want to implement emailing to alert admin staff should a message fail
> validation in a Receive Location. Obviously I do not want to implement MOM
> stuff just yet. In BTS 2002 I could write a simple script to read the
> Suspend Queue. Is there as simple a way to achieve this with BTS 2004?
>
> I've got an orchestration made but I do not know what to configure it to
> look for in Messagebox - if even it is possible to do it this way.
>
> Any help is much appreciated.
>
> thanks,
> Conor


Hi Conor,

You could subscribe to the WMI event "MSBTS_ServiceInstanceSuspendedEvent"
as shown in my "Suspended Queue Listener" example service application which
can be downloaded at
http://martijnh.blogspot.com/2004/0...-listener.html.

This service also processes messages which might have gotten suspended
while the system was down, the service wasn't running, etc. in
"ServiceMain" before subscribing to the aforementioned event.

You then drop all messages that get suspended (minus any debugging versions
BizTalk Server 2004 automatically generates ofcourse) into the folder
configured for your Orchestration to listen to and you're done.

Ofcourse, if you already have it in place, you could use MOM (Microsoft
Operations Manager) to perform the same.

HTH,

Martijn Hoogendoorn
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com