Thursday, February 01, 2007

Calling A Receive Pipeline Inside an Orchestration in BizTalk 2006

Calling A Receive Pipeline Inside an Orchestration in BizTalk 2006

This is a quick example of how to call a receive pipeline from within a BizTalk 2006 orchestration.

Here's the gist of it:

InputPipeline = Microsoft.XLANGs.Pipeline.

XLANGPipelineManager.ExecuteReceivePipeline

(typeof(CallReceivePipeline.ReceivePipeline),msgFullMessage);

InputPipeline.MoveNext()

msgSingle = new System.Xml.XmlDocument();
InputPipeline.GetCurrent(msgSingle);

No comments: