Sunday, November 25, 2007

BizTalk Server 2006 (9) Pipelines

Understanding BizTalk Server 2006
Professional BizTalk Server 2006

Pipelines:
  • Components within the BizTalk system that are able to process messages either when they are received or just before they are sent out
  • Pipelines divide processing into several categories, known as processing stages
  • They also specify the sequence in which each stage of the work is performed

Processing stages:

  • Define logical work groups
  • Determine which components can belong to a stage
  • Specify how the pipeline components in the stage are run

Stages in a pipeline include:

  • Encrypting and decrypting
  • Encoding and decoding
  • Assembling and disassembling

Receive Pipeline:

  • Receive pipeline takes the initial message, performs transformations, and disassembles the raw data into zero, one, or multiple messages
  • These are XML messages that are then sent to be processed through the BizTalk server

Receive Pipeline Stages, each receive pipeline consists of the following four stages:

  • Decode: used to decode MIME encoded messages
  • Disassemble: used to normalize messages from native incoming format to BizTalk Server's internal XML format
  • Validate: used to verify an incoming document against a specified schema
  • Resolve party: used to verify that the incoming message was sent from a trusted source

Send Pipeline:

  • Responsible for processing documents before they are sent to their destination
  • Each send pipeline accepts one message and produces one message to be sent

Send Pipelines consist of three empty stages:

  • Pre-assemble: used to conduct processing on the message needed before it is assembled
  • Assemble: used to assemble the BizTalk XML document into a XML, flat-file, or a BizTalk Framework (BTF) format
  • Encode: used to encode the document to MIME/SMIME and to digitally sign messages

Using a Default Pipeline

Pass-through receive:

  • Contains no components
  • No decoding, validation, or disassembling required
  • Used when both send and receive destination are known and is commonly used in conjunction with the pass-through send pipeline

Pass-through send:

  • Contains no components
  • No encoding or assembling required
  • Used for basic message routing
  • Commonly used in conjunction with the pass-through receive pipeline

XML receive:

  • Contains the XML disassembler component
  • Party resolution component for security
  • No decoding or validation stage

XML send:

  • Contains the XML assembler component (Preassembling, Serializing, Encoding)

blog comments powered by Disqus