BizTalk Gurus

Suspended Message Routing and Error Reporting


Wed, Aug 3 2005

Downloads: 4,570
File size: 213.7kB
Views: 5,616
Suspended Message Routing and Error Reporting

This sample shows how to use Error Reporting to route suspended message to an Orchestration in Biztalk 2006. It includes two Orchestrations, one intended to fail on the Receive Port and one on the Send Port. Both a manual installation and MSI installation is available.

Get more information from the original blog post on this topic: http://www.biztalkgurus.com/blogs/biztalk/archive/2005/08/02/Suspended-Message-Routing-and-Reporting-in-Biztalk-Server-2006.aspx

Comments

iamimpossible wrote re: Suspended Message Routing and Error Reporting
on Tue, Nov 18 2008 4:45 AM
This is ok for basic exceptions, what if you get an invalid XML e.g. Starting tag is different from end tag. How do you handle this? Lets say i wanted to write out the invalid xml to eventlog? It would cause a problem because when i do msg.outerxml it will try to validate and wont work. Is there a way of writing the xmldocument content to text with out validation?
Stephen W. Thomas wrote re: Suspended Message Routing and Error Reporting
on Fri, Nov 21 2008 3:33 PM
Probably not inside a BizTalk Pipeline. You’d need something custom. I’d pass it to an Orchestration as an “XmlDocument”. This will not do validation and you can do more with it inside .net – like use a TextWritter to write it to disk.
Rakesh wrote re: Suspended Message Routing and Error Reporting
on Fri, Mar 27 2009 12:04 AM
Hello Stephen, Is there any option from which we can catch this exception? If you have anything useful information how to handle exception occurred using the custom application then it really help me a lot. I did lot of search on google and post a question in newsgroup but did not best answer. Please help me. Thanks, Rakesh
Stephen W. Thomas wrote re: Suspended Message Routing and Error Reporting
on Thu, Apr 2 2009 7:32 AM

I’ve seen people use MOM for monitoring that can help alert to peoples.

To help with errors and error messages, look at the ESB Guidance on CodePlex.  This has a very nice exception framework with a portal.  I’ve not set it up, but I’ve heard good things.

Hope this helps.

Stephen W. Thomas

Pandu wrote re: Suspended Message Routing and Error Reporting
on Sat, May 9 2009 7:41 AM
hi stephen, i have requirement to alert the user at time when any message gets suspended. things to consider: no orchestration calling...as we donot want user to handle error handling..once the message gets suspended we want some mechanism to update the user....
Stephen W. Thomas wrote re: Suspended Message Routing and Error Reporting
on Tue, Jun 16 2009 8:35 PM

You would want to look at a monitoring tool like System Center (MOM).  This would be the best approach for something like this.

Hope this helps.

Stephen W. Thomas

Add a Comment

(required)
 
Spam Control: Type the word BIZTALK2009 here:
(optional)
(required)