Microsoft Knowledge Base Email Alertz

(886225) - Explains an issue that may occur when you create a custom pipeline component for handling large messages 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: 886225 - Last Review: May 21, 2007 - Revision: 1.3

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

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.

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:
http://www.microsoft.com/biztalk/ (http://www.microsoft.com/biztalk/)
For additional information about how to create seekable streams in the .NET Framework, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/336wast5(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/336wast5(vs.71).aspx)
For additional information about custom pipeline processing in BizTalk Server 2004, visit the following Microsoft Developer Network (MSDN) Web site:
http://www.microsoft.com/belux/msdn/nl/community/columns/claessens/custompp.mspx (http://www.microsoft.com/belux/msdn/nl/community/columns/claessens/custompp.mspx)

APPLIES TO
  • Microsoft BizTalk Server 2004 Standard Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Developer Edition
Keywords: 
kbinfo kbtshoot kbprb KB886225
       

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