Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Information about handling large messages with a custom pipeline component in BizTalk Server 2004


View products that this article applies to.

Introduction

This article describes an issue that occurs in Microsoft BizTalk Server 2004. The issue occurs when you create a custom pipeline component to handle large messages.

↑ Back to the top


More information

BizTalk Server 2004 can process very large messages. For example, a large message may be 100 megabytes (MB) or more. To make this possible, all pipeline components work by streaming the message.

When you create a custom pipeline component that implements a custom stream for use in the BizTalk Server 2004 environment, the stream that you create must be able to seek back to the beginning of the stream. This must occur if you want to suspend or to track a message.

If the message stream is non-seekable, and if the processing of a large message fails, the part of the message before the current position of the stream is not recoverable. Therefore, the actual body of the message is not persisted in the database. Also, you cannot suspend the message or track the message because the data is not available. The message stream is at the end. The message stream cannot be set back to the beginning.

If the message stream is seekable, BizTalk Server 2004 suspends the message. BizTalk Server 2004 sends a success code to the adaptor that indicates that BizTalk Server 2004 has ownership of the data.

For additional information about BizTalk Server 2004, visit the following Microsoft Web site: For additional information about how to create seekable streams in the .NET Framework, visit the following Microsoft Developer Network (MSDN) Web site: For additional information about custom pipeline processing in BizTalk Server 2004, visit the following Microsoft Developer Network (MSDN) Web site:

↑ Back to the top


Keywords: KB886225, kbprb, kbtshoot, kbinfo

↑ Back to the top

Article Info
Article ID : 886225
Revision : 4
Created on : 5/21/2007
Published on : 5/21/2007
Exists online : False
Views : 431