Developing Custom Pipeline Components

This section describes how to develop a pipeline component. You can create three types of pipeline components: general, assembling, and disassembling. Each of the three types can additionally implement probing functionality. Each type of pipeline component has an associated interface that must be implemented for the component to be plugged into the BizTalk Messaging Engine; the pipeline interfaces that distinguish the types of components are IComponent, IAssemblerComponent, and IDisassemblerComponent. For probing components, you must implement the IProbeMessage interface.

Microsoft BizTalk Server contains a sample pipeline component that you can reference when creating your own component. The sample component demonstrates how to append data to the end of a message and add data at the beginning of the message. For more information about the sample pipeline component, see CustomComponent (BizTalk Server Sample).


If you reference a custom pipeline component from a pipeline in Visual Studio, a compile-time error may occur. To correct the error, close Pipeline Designer and reopen it before compiling. Alternatively, you can remove the component, and then add it.


When upgrading to BizTalk Server, ensure that any string variables in your existing custom pipeline components do not contain any newline characters such as ‘\n’. Otherwise, a “newline in constant” error will occur when compiling this component in Visual Studio.

In This Section