09-04-04 10: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 usi
ng
> 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 MO
M
> 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
[url]http://martijnh.blogspot.com/2004/07/biztalk-2004-suspended-queue-listener.html.[/
url]
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
[ Post a follow-up to this message ]
|