Failed Message Routing and Send Ports

Link. July 15, 2007. Comments [0]. Posted in: BizTalk

I'm putting this one here just in case I forget about it again:

BizTalk Server 2006 introduced a very nice feature called Failed Message Routing. This is usually enabled on Receive Ports to allow the developer to handle failed inbound messages through BizTalk itself, as it allows the failed message to be routed to another port or a dedicated error handling Orchestration. This is a very cool feature you can use to deal with messages that fail processing during the receive pipeline processing or that matched no active subscriptions on the message box.

However, BizTalk 2006 also supports Failed Message Routing on Send Ports! The option to enable them is hidden in the "Transport Advanced Options" section of the Send Port Properties dialog:

SendPortFMR

This option provides an alternative to the use of delivery notifications in a BIzTalk Orchestration, with the following advantages:

  1. It doesn't force an orchestration to wait until retries have been exhausted for the delivery notification, so the sending orchestration can still do other work.
  2. It allows the error condition to be handled in an asynchronous fashion
  3. It is a good replacement for delivery notifications in messaging-only scenarios.

A few things to watch out for:

  1. The message is only routed after all retries configured on the send port have been exhausted.
  2. You can combine Failed Message Routing with Delivery Notifications; the orchestration will gets it's notification and the failed message will still be routed.
  3. Like with Delivery Notifications, failed message routing will only happen if both the primary and secondary transports fail delivery.


Comments are closed.

Syndicate

About

Tomas Restrepo is a software developer located in Colombia, South America. His interests include .NET, Connected Systems, PowerShell and lately dynamic programming languages. More...

tomasrestrepo @ twitter My Flickr photostream My saved links on delicious My Technorati Profile

email: tomas@winterdom.com
msn: tomasr@passport.com

View my profile on LinkedIn

MVP logo

Ads


Categories

Statistics

Total Posts: 1035
This Year: 105
This Month: 4
This Week: 2
Comments: 802

Archive

Other

Copyright © 2002-2008, Tomas Restrepo.

Powered by: newtelligence dasBlog 2.1.8139.823

Sign In