|
Home > Archive > BizTalk Server General > March 2005 > Custom Pipeline Component Tutorial
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Custom Pipeline Component Tutorial
|
|
| Bob Corcoran 2004-12-31, 5:48 pm |
| Does anyone know of a simple step by step, start to finish, Custom Pipeline
component example, including some explanation of the C# classes needed, etc?
The samples in the BizTalk samples folder don't include any explanations of
the various solution parts, so they really aren't very useful to BizTalk and
..NET newbies.
Bob
| |
| Matt Milner 2004-12-31, 5:48 pm |
| The explanations are in the help file under sdk/samples. Are you looking
for more information about the samples? What questions do you have?
Matt
"Bob Corcoran" <BobCorcoran@discussions.microsoft.com> wrote in message
news:9E899072-B20D-4325-9562-3FBA695E87F9@microsoft.com...
> Does anyone know of a simple step by step, start to finish, Custom
> Pipeline
> component example, including some explanation of the C# classes needed,
> etc?
> The samples in the BizTalk samples folder don't include any explanations
> of
> the various solution parts, so they really aren't very useful to BizTalk
> and
> .NET newbies.
>
> Bob
| |
| Bob Corcoran 2005-01-03, 5:49 pm |
| Matt,
I can't seem to find that help file. Anyway, I need to write two custom
pipeline components to handle PGP encryption, decryption. I know that I need
to work within the encode and the decode stages, respectively. I have already
written the PGP components, but I don't know how to fit them into pipeline
processing. I have also written the schemas and maps that I need (in an
"Empty BizTalk Server Project"). What I have left to do is to route the
messages to the appropriate business partners (using an orchestration, I
guess??), and to write the custom pipelines.
Thanks,
Bob
"Matt Milner" wrote:
> The explanations are in the help file under sdk/samples. Are you looking
> for more information about the samples? What questions do you have?
>
> Matt
>
>
> "Bob Corcoran" <BobCorcoran@discussions.microsoft.com> wrote in message
> news:9E899072-B20D-4325-9562-3FBA695E87F9@microsoft.com...
>
>
>
| |
| Martijn Hoogendoorn 2005-01-04, 2:46 am |
| On Mon, 3 Jan 2005 06:13:05 -0800, Bob Corcoran wrote:
[vbcol=seagreen]
> Matt,
>
> I can't seem to find that help file. Anyway, I need to write two custom
> pipeline components to handle PGP encryption, decryption. I know that I need
> to work within the encode and the decode stages, respectively. I have already
> written the PGP components, but I don't know how to fit them into pipeline
> processing. I have also written the schemas and maps that I need (in an
> "Empty BizTalk Server Project"). What I have left to do is to route the
> messages to the appropriate business partners (using an orchestration, I
> guess??), and to write the custom pipelines.
>
> Thanks,
> Bob
>
> "Matt Milner" wrote:
>
Hi Bob,
Routing the messages to the business partners can be done in two ways:
1) content based routing - this sets a subscription on the send port
("filter expression") defined by a custom property of the message
2) orchestration based - use this if you have more complex business logic
to perform before distributing the messages
Writing the pipelines is easy:
1) please your custom pipeline component in the BizTalk "Pipeline
Components" folder.
2) add a new receive/send pipeline to the project
3) reference your pipeline component in the toolbox
4) drag your component into the appropriate stage
5) set any properties you've defined through implementing
IPersistPropertyBag.
6) insert any other components you need (the XmlDisassembler might be a
good idea for example)
Now you're good to go!
HTH,
Martijn Hoogendoorn.
| |
| Martijn Hoogendoorn 2005-01-04, 2:46 am |
| On Mon, 3 Jan 2005 06:13:05 -0800, Bob Corcoran wrote:
[vbcol=seagreen]
> Matt,
>
> I can't seem to find that help file. Anyway, I need to write two custom
> pipeline components to handle PGP encryption, decryption. I know that I need
> to work within the encode and the decode stages, respectively. I have already
> written the PGP components, but I don't know how to fit them into pipeline
> processing. I have also written the schemas and maps that I need (in an
> "Empty BizTalk Server Project"). What I have left to do is to route the
> messages to the appropriate business partners (using an orchestration, I
> guess??), and to write the custom pipelines.
>
> Thanks,
> Bob
>
> "Matt Milner" wrote:
>
I almost forgot to plug my Pipeline Component Wizard. You could use it to
easily create a Custom Pipeline Component through the use of a simple
wizard interface in Visual Studio. Check it out here if you like:
http://martijnh.blogspot.com/2004/0...izard-v132.html
HTH,
Martijn Hoogendoorn
| |
| Mubarak Elamin [MSFT] 2005-03-30, 5:51 pm |
| The steps that Martijin outlined are great. If you need a sample from the
SDK to work with you can take a look at BAMEndToEnd Sample
(Samples\BAM\BamEndToEnd)
You should be able to download the SDK from the Biztalk site on the web.
--------------------
>From: Martijn Hoogendoorn <martijn.hoogendoorn@macaw.nl>
>Subject: Re: Custom Pipeline Component Tutorial
>User-Agent: 40tude_Dialog/2.0.13.1
>MIME-Version: 1.0
>Content-Type: text/plain; charset="us-ascii"
>Content-Transfer-Encoding: 7bit
>Sender: martijn.hoogendoorn@macaw.nl
>Reply-To: martijn.hoogendoorn@macaw.nl
>Organization: Macaw Nederland B.V.
>References: <9E899072-B20D-4325-9562-3FBA695E87F9@microsoft.com>
<#Qo#LI27EHA.2568@TK2MSFTNGP10.phx.gbl>
<51CF8A52-B1D0-4649-915E-293B605AA5EC@microsoft.com>
>Date: Tue, 4 Jan 2005 09:16:45 +0100
>Message-ID: <56kps3qn2cfy.1umh3on5c9wjj.dlg@40tude.net>
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: 213-132-178-65.multikabel.nl 213.132.178.65
>Lines: 1
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14
.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:23140
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>On Mon, 3 Jan 2005 06:13:05 -0800, Bob Corcoran wrote:
>
need[vbcol=seagreen]
already[vbcol=seagreen]
pipeline[vbcol=seagreen]
looking[vbcol=seagreen]
needed,[vbcol=seagreen]
explanations[vbcol=seagreen]
BizTalk[vbcol=seagreen]
>
>Hi Bob,
>
>Routing the messages to the business partners can be done in two ways:
>
>1) content based routing - this sets a subscription on the send port
>("filter expression") defined by a custom property of the message
>2) orchestration based - use this if you have more complex business logic
>to perform before distributing the messages
>
>Writing the pipelines is easy:
>
>1) please your custom pipeline component in the BizTalk "Pipeline
>Components" folder.
>2) add a new receive/send pipeline to the project
>3) reference your pipeline component in the toolbox
>4) drag your component into the appropriate stage
>5) set any properties you've defined through implementing
>IPersistPropertyBag.
>6) insert any other components you need (the XmlDisassembler might be a
>good idea for example)
>
>Now you're good to go!
>
>HTH,
>
>Martijn Hoogendoorn.
>
Mubarak Elamin, BPI Business User Services
This posting is provided as is with no warrantee and it confers no rights
|
|
|
|
|