Delivery notifications in BizTalk Server 2006
Few days back I did ink on how to route the failed messages, by enabling macros at the filter, in this post i will be writing about how to set the acknowledgments in biztalk server,
In the properties window of the send port you will be able to see the Delivery Notifications as the property ,change it to Transmitted.
In the filter property of the send port set the filter as BTS.ISACKRequired == True
A scenario where you are trying to archive the file and you want to proceed to the next step if and only if archival takes places successfully, place the send shape in the scope shape with the transaction set as long running,
Add an exception handler shape and then set the exception object as Microsoft.XLANGs.BaseTypes.DeliveryFailureException , name as ACKexception,
add an expression shape and in the expression shape place
System.Diagnostics.EventLog.WriteEntry(”you app name”,ACKexception.Message.ToString());
place a suspend shape after this shape
Posted: June 30th, 2008 under Uncategorized.