Basics of BizTalk Runtime Architecture

Posted: June 19, 2009 in BizTalk

BizTalk runtime architecture primarily has four major components:

  • Receive Handler;
  • Message Box;
  • Orchestration;
  • Send Handler.

Receive handler

Receive handler held responsible to receive message from channel contains one or more receive locations.

Receive location is combination of receive adapter and receive pipeline.

Receive pipeline has four stages:

  • Decode: is used for components that decode or decrypt the message like verifying message signatures to ensure integrity, or decoding the S/MIME messages.
  • Disassemble: This stage is used for components that parse or disassemble the message. The message gets converted entirely into the XML format so that the messaging engine can understand it.
  • Validate: check to see if the message is in the correct format or not.
  • Resolve Party: like decode stage, deals with message security using encryption and digital signature with the help of certificates. (map the sender certificate or the sender security identifier (SID) to the corresponding configured BizTalk Server part)

Message Box

Message Box is publishing area. Message read from channel are published into message box.


Orchestrations execute business logic. They play subscriber as well as publisher role. They acquire subscribed message instance from message box and carry out business processing.

Send handler

Send handler plays subscriber role. It fetches message from message box and pushes to channel. Send handler is combination of send pipeline and adapter.

Send pipeline contains three stages:

  • Preassemble: pre-processing of the message before it needs to be assembled.
  • Assemble: responsible for assembling or serializing the message and converting it to or from XML, in other words, convert the message in a format that can be understood by the external system.
  • Encode: is used for components that encode or encrypt the message.

Tags: BizTalk | Architecture

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s