Integrating Integrators – BizTalk, Windows Azure, Windows Workflow, and Beyond

BizTalk 2006

This group is for all content related to BizTalk Server 2006. This includes a forum, samples, videos, labs, and tools. Most of the content here also applies to other versions of BizTalk beyond 2006.

Suspended Message Routing and Error Reporting

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/biztalk_server/biztalk_blogs/b/biztalk/archive/2005/08/02/suspended-message-routing-and-reporting-in-biztalk-server-2006.aspx

  • Downloads: 4,923
  • Size: 213.7kB
  • Views: 17,176
  • Comments 10
Rate This
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Post
Comments
  • re: Suspended Message Routing and Error Reporting

    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?
  • re: Suspended Message Routing and Error Reporting

    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.
  • re: Suspended Message Routing and Error Reporting

    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
  • re: Suspended Message Routing and Error Reporting

    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

  • re: Suspended Message Routing and Error Reporting

    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....
  • re: Suspended Message Routing and Error Reporting

    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

  • re: Suspended Message Routing and Error Reporting

    Hi, We have a scenario where all the exceptions which occur need be communicated to the sender. i am planning to use Failed message routing capability of Biztalk. So now i have orchestrtaion which subscribes for all the errors which occur in the receive port. the plan is on basis of the error received in the ErrorReport.Description, we will send custom error message back to the sender. When a incoing message fails schema validation in the disassemble stage of the receive pipeline, it throws on eventlog like "No Disassemble stage components can recognize the data" or 'http://tempuri.org/XMLSchema.xsd:DailyPullPurchaseOrder' element is not declared. depending on the exception But the ErrorReport.Description in the failed message subscribing orch always has this error "The Messaging Engine encountered an error during the processing of one or more inbound messages.".. This error comes for all types of exceptions which makes it very difficult to perform a decision in the orchestration. any pointers
  • re: Suspended Message Routing and Error Reporting

    In our messagebox we have more than 81000 messages which are suspended resumable according to SERVER it slows down the Biztalk processing, it seems to me that it’s a lot of time the same cases (like PWK2 messages for Poland) WE R stayING MORE TIME what do you think ?
  • re: Suspended Message Routing and Error Reporting

    Stephen - My solutions provider is providing BizTalk services and they are requesting to use BAM to create reports from BizTalk for our EDI environment for failed EDI documents, non receipt of 997 and a few other metrics. What are my reporting capabilities using BizTalk without the use of BAM? Just trying to keep my expenses down. Many thanks. Mike
  • re: Suspended Message Routing and Error Reporting

    Hi Stephen, Is there a way ( or any tools ) to notify customers of any occurrence of BizTalk errors automatically and proactivley before addressing these errors, so that customers are aware of these before being reported by end users. Thanks.
Page 1 of 1 (10 items)