Discussion:
Instantiating a Pipeline object in a dot net method
(too old to reply)
e***@ee.demon.co.uk
2006-07-16 09:33:25 UTC
Permalink
Hi,

I am trying to create an instance of a BizTalk Pipeline object from within a
.net method.

The code would be something like this:
Microsoft.XLANGs.Pipeline.ReceivePipelineOutputMessages pipeline =
PipelineFactory.CreateEmptyReceivePipeline();
pipeline.AddComponent(new BtfDasmComp(), PipelineStage.Disassemble);

If anyone has an example of doing this, or can point me in the right
direction, it would be greatly appreciated.

Thanks in advance,

Jim
MohammadSH
2006-07-17 10:47:03 UTC
Permalink
Hi Jim,

I personally haven't tried doing that, but it should be the exact way as you
would do in a BizTalk orchestration. You can refer to the 'Composed Message
Processor Sample' in the BizTalk 2006 SDK.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bts06developing/html/a0f87f98-6f5f-4edb-8f65-49d22df5de97.asp

This should be a good starting point for using pipelines from code.

Hope this helps,

Mohammad,
BizTalk Consultant
Post by e***@ee.demon.co.uk
Hi,
I am trying to create an instance of a BizTalk Pipeline object from within a
..net method.
Microsoft.XLANGs.Pipeline.ReceivePipelineOutputMessages pipeline =
PipelineFactory.CreateEmptyReceivePipeline();
pipeline.AddComponent(new BtfDasmComp(), PipelineStage.Disassemble);
If anyone has an example of doing this, or can point me in the right
direction, it would be greatly appreciated.
Thanks in advance,
Jim
jim
2006-07-18 13:41:02 UTC
Permalink
Thanks mate,

I will take a look

Regards,
Jim
Post by MohammadSH
Hi Jim,
I personally haven't tried doing that, but it should be the exact way as you
would do in a BizTalk orchestration. You can refer to the 'Composed Message
Processor Sample' in the BizTalk 2006 SDK.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bts06developing/html/a0f87f98-6f5f-4edb-8f65-49d22df5de97.asp
This should be a good starting point for using pipelines from code.
Hope this helps,
Mohammad,
BizTalk Consultant
Post by e***@ee.demon.co.uk
Hi,
I am trying to create an instance of a BizTalk Pipeline object from within a
..net method.
Microsoft.XLANGs.Pipeline.ReceivePipelineOutputMessages pipeline =
PipelineFactory.CreateEmptyReceivePipeline();
pipeline.AddComponent(new BtfDasmComp(), PipelineStage.Disassemble);
If anyone has an example of doing this, or can point me in the right
direction, it would be greatly appreciated.
Thanks in advance,
Jim
Loading...