BizTalk Server Orchestration - Streaming and Orchestration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > May 2005 > Streaming and Orchestration





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 Streaming and Orchestration
Raghu

2005-05-19, 5:50 pm

BTS 2004 uses streaming model to enable processing of large messages. Is
this model only restricted to send and receive handlers? Or is it also
applicable to orchestration as well?

In my view, the stream model does not apply to orchestration because the
message may needs to be peristed to database before it can be worked on.
Also it may need to dehydrated or rehydrated based on business rules defined
in orhcestration. This tells me that no streaming occurs. If this is true,
then orchestrations should never use large messages.

Am I on the right path?

Thanks.
Raghu/..


McGeeky

2005-05-19, 5:50 pm

> Am I on the right path?

Nope. You have taken a wrong turn! ;-)

BizTalk orchestrations definitely support message streaming and it works
very well. To access messages as a stream you will need to write a .Net
component and pass your orchestration message to it. Within your .Net
component you can then get access to the message stream via
XLANGPart.RetrieveAs ( typeof ( Stream ) )

This has worked fine for me with messages several hundred megabytes in size.

--
McGeeky
http://mcgeeky.blogspot.com


"Raghu" <Raghu@Nospam.com> wrote in message
news:ehFAKbJXFHA.2776@TK2MSFTNGP12.phx.gbl...
> BTS 2004 uses streaming model to enable processing of large messages. Is
> this model only restricted to send and receive handlers? Or is it also
> applicable to orchestration as well?
>
> In my view, the stream model does not apply to orchestration because the
> message may needs to be peristed to database before it can be worked on.
> Also it may need to dehydrated or rehydrated based on business rules

defined
> in orhcestration. This tells me that no streaming occurs. If this is true,
> then orchestrations should never use large messages.
>
> Am I on the right path?
>
> Thanks.
> Raghu/..
>
>



Raghu

2005-05-19, 5:50 pm

Thank you very much.

Is there a sample for this kind of handling of a message in a component
configured in the orchestration?

"McGeeky" <anon@anon.com> wrote in message
news:#SmSl0KXFHA.584@TK2MSFTNGP15.phx.gbl...
>
> Nope. You have taken a wrong turn! ;-)
>
> BizTalk orchestrations definitely support message streaming and it works
> very well. To access messages as a stream you will need to write a .Net
> component and pass your orchestration message to it. Within your .Net
> component you can then get access to the message stream via
> XLANGPart.RetrieveAs ( typeof ( Stream ) )
>
> This has worked fine for me with messages several hundred megabytes in

size.
>
> --
> McGeeky
> http://mcgeeky.blogspot.com
>
>
> "Raghu" <Raghu@Nospam.com> wrote in message
> news:ehFAKbJXFHA.2776@TK2MSFTNGP12.phx.gbl...
> defined
true,[vbcol=seagreen]
>
>



McGeeky

2005-05-20, 2:47 am

Sure. Check out Darren's blog:

http://blogs.msdn.com/darrenj/archi.../29/235719.aspx

--
McGeeky
http://mcgeeky.blogspot.com


"Raghu" <Raghu@Nospam.com> wrote in message
news:OkR5YUMXFHA.3716@TK2MSFTNGP12.phx.gbl...
> Thank you very much.
>
> Is there a sample for this kind of handling of a message in a component
> configured in the orchestration?
>
> "McGeeky" <anon@anon.com> wrote in message
> news:#SmSl0KXFHA.584@TK2MSFTNGP15.phx.gbl...
> size.
> true,
>
>



Raghu

2005-05-20, 5:58 pm

Thank you again for a great page.

"McGeeky" <anon@anon.com> wrote in message
news:#pMPUBRXFHA.2128@TK2MSFTNGP14.phx.gbl...
> Sure. Check out Darren's blog:
>
> http://blogs.msdn.com/darrenj/archi.../29/235719.aspx
>
> --
> McGeeky
> http://mcgeeky.blogspot.com
>
>
> "Raghu" <Raghu@Nospam.com> wrote in message
> news:OkR5YUMXFHA.3716@TK2MSFTNGP12.phx.gbl...
works[vbcol=seagreen]
also[vbcol=seagreen]
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com