BizTalk 2006 introduced the feature of calling a pipeline from within an orchestration. As a developer, you are now able to use pipeline-processing stages within an orchestration, such as validating a document. Calling a pipeline can make your orchestration more efficient by minimizing the interactions between the orchestration and the MessageBox
database. Through programmatic interface inside pipelines, you can call, receive, and send pipelines directly from an orchestration.
Open Visual Studio 2010 and create a solution. For reference, you can download the source code belonging to this chapter.
As an example, a message is de-batched through calling a pipeline in an orchestration. To call a pipeline in an orchestration, you can perform the following steps:
Create a new BizTalk project and add schemas in the project you require. Schemas in these steps are available in the code sample for this recipe. There is one
envelope
schema...