What Is Biztalk Server Pipelines?

sindhuja cynixit
3 min readDec 23, 2019

--

BizTalk is a message-based system receiving and sending information inside messages. typically the incoming and outgoing messages should be processed to fit external formats. Pipelines, connected to send ports and receive locations, are the components through which the messages pass; then the data format is recognized and may be valid or modified if necessary; as well as the metadata is extracted and added to the message context.

BizTalk Receive Pipeline

A receive pipeline operates on a message when it’s received by the receive adapter. The receive pipeline takes the initial message, performs some transformations, and disassembles the information into zero, one, or multiple messages. These individual messages will then be processed by BizTalk Server.

Receive pipelines have four stages:

1. Decode: It can be used to prepare the message for the Disassemble stage, for example, decrypting, uncompromising and decoding a message.

2. Disassemble: It can be used to produce multiple messages based on the input message by de-batching the incoming message into smaller messages. It can even acknowledge the format of incoming messages and then process it as well as promoting properties into the message context.

For example, incoming messages formatted as XML are processed by the XML Disassembler or incoming messages formatted as CSV flat file will be parsed and prepared as individual XML units.

Get More Information At Biztalk Online Training

3. Validate: It’s mainly used to validate the disassembled messages. For example, verifying the XML Schema of the message to be of a certain type using the XML Validator element.

4. Party resolution: It’s used to determine the party that BizTalk receives the message from. This can be achieved by mapping the sender’s digital certificate or sender’s security identifier.

BizTalk Send Pipeline

A send pipeline is responsible for process documents before causing them to their final destinations. The send pipeline takes one message and produces one message to send.

Send pipelines to have three stages:

1. Pre-assemble: It prepares the message for the outgoing method. If you want to gain more knowledge of Biztalk please go through this link Biztalk Certification Course

2. Assemble: It’s responsible for combining multiple messages into one giant message with the format that may be sent over the wire (Aggregating multiple messages during a batch). In this step, we can change the XML format of a message into a flat file, or possible adding envelopment to the XML message. In this stage, you’ll be able to demote the properties (those properties promoted within the taking apart stage of the Receive pipeline and used for the routing of the message) from the context message.

3. Encode: It’s responsible for writing the outgoing message in a fashion way in order to be understood by the target system. It involves compression, encrypting and encoding the message

Custom Pipeline Components:

  • IBaseComponent: Defines properties that provide basic data about the component.
  • IPersistPropertyBag: Works with IPropertyBag and IErrorlog to define an individual property-based persistence mechanism.
  • IComponentUI: Defines methods that enable pipeline components to be used within the Pipeline Designer environment.
  • IComponent is responsible for providing any execution functionality.

--

--

No responses yet