Method 1: Use an exception handlerUse an exception handler in the orchestration to handle the NACK message from the send port. After the exception is handled, do the following:
- Terminate the orchestration.
- Pass the MessageID property and the orchestration InstanceID property to a custom Windows Management Instrumentation (WMI) script.
Method 2: Write the message to a Message Queuing queueWrite the message to a Microsoft Message Queuing (also known as MSMQ) queue after you terminate the send port and before you terminate the orchestration instance. The BizTalk Server administrator can review the message outside BizTalk Server, and then decide to resubmit the message to a new receive location.
Method 3: Create a new orchestrationCreate a new orchestration that subscribes to the NACK messages and handles the messages.
Article ID: 899813 - Last Review: 10 Sep 2008 - Revision: 1