Microsoft Knowledge Base Email Alertz

You receive a Completed with discarded message message in the HAT tool when you use a sequential convoy in BizTalk Server 2004

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 914588 - Last Review: March 16, 2007 - Revision: 1.2

You receive a "Completed with discarded message" message in the HAT tool when you use a sequential convoy in BizTalk Server 2004

On This Page

SYMPTOMS

When you use a sequential convoy in Microsoft BizTalk Server 2004, you may receive a message that is similar to the following in the Health and Activity Tracking (HAT) tool for an orchestration instance:
Completed with discarded message
This issue occurs when the convoy uses a long-running transactional scope that has a time-out setting.

Additionally, you may notice that you receive fewer output and "Completed with discarded messages" messages than input messages.

CAUSE

This issue occurs when the following conditions are true:
  • A time-out exception occurs.
  • An exception handler does not handle the message.

RESOLUTION

To resolve this issue, use one of the following methods.

Method 1: Use a send port in an exception handler

To resolve this issue, use a send port in an exception handler to send the unconsumed message to another destination for processing.

Method 2: Use a WMI script

To resolve this issue, use a Windows Management Instrumentation (WMI) script to save the message to a file. Then, submit the file again for processing.

STATUS

This behavior is by design.

MORE INFORMATION

When a time-out exception occurs, BizTalk Server 2004 calls an exception handler. The exception handler should also handle the message. If the exception handler does not handle the message, the message may be lost.

REFERENCES

For more information about convoy message processing, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms942189.aspx (http://msdn2.microsoft.com/en-us/library/ms942189.aspx)

APPLIES TO
  • Microsoft BizTalk Server 2004 Standard Edition
  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Partner Edition
Keywords: 
kbbtsorchestration kbbtshat kbtshoot kbprb KB914588
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate