O'Reilly logo

Professional BizTalk® Server 2006 by Ewan Fairweather, Kevin B. Smith, Darren Jefford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10.2. The BizTalk Processing Model

To fully understand how you can fine-tune a BizTalk solution for a low-latency scenario, you need to understand how BizTalk processes messages. Figure 10-1 shows the BizTalk architecture; the flow of a message through BizTalk is illustrated by the arrows on the diagram. I will discuss this flow in more detail shortly. As already discussed earlier in the book, at the center is the MessageBox, a durable publish-subscribe engine built in the database. The MessageBox services all of BizTalk's subservices (referred to as service classes). These include the Messaging Engine (in process and out of process), the Orchestration Engine, and the BizTalk Message Queue (MSMQT, T for Transport) adapter.

The flow through BizTalk is as follows:

  1. The MSMQ adapter receives a message from a queue and submits it to the Messaging Engine.

  2. The Messaging Engine performs some preprocessing on the message and then executes it through the receive pipeline.

  3. The Messaging Engine invokes the Message Agent in order to publish the message to the MessageBox.

  4. The message is published to the MessageBox, the subscriptions are evaluated during publication, and a reference to the message is placed in the appropriate application queue in the MessageBox.

  5. The Message Agent dequeues the message and passes it to the Orchestration Engine.

  6. The Orchestration Engine activates a new instance of the correct type of orchestration.

  7. The orchestration processes the message and then posts it to a send port. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required