BizTalk Server Orchestration - Waiting in a receive port

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > September 2005 > Waiting in a receive port





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 Waiting in a receive port
Suresh

2005-09-21, 2:49 am

Hi,
I have a requirement where i want the orchestration to wait at a receive
port for a certain period of time. If the message does not arrive at the
receive port within the given stipulated time, i want the orchestration to
call a component that will send out a mail to the corresponding people and
continue with the remaining steps in the orchestration. How can i acheive
this. Should i use the delay shape? if yes how can i use it to acheive this
functionality.

Any help will be highly appreciated.

Thanks,
Suresh
Gary

2005-09-21, 7:48 am

Hi Suresh,

You may be able to use the listen shape to acheive this, have the receive
shape in on one branch and a delay shape on the other. The orchestration will
wait until either the receive port receives a message or the delay shape
finishes. Whichever happens first the orchestration will continue down that
branch.

I haven't done this myself and I have heard about scope issues and access to
variables etc. but it may be worth a try.

Cheers,
Gary

"Suresh" wrote:

> Hi,
> I have a requirement where i want the orchestration to wait at a receive
> port for a certain period of time. If the message does not arrive at the
> receive port within the given stipulated time, i want the orchestration to
> call a component that will send out a mail to the corresponding people and
> continue with the remaining steps in the orchestration. How can i acheive
> this. Should i use the delay shape? if yes how can i use it to acheive this
> functionality.
>
> Any help will be highly appreciated.
>
> Thanks,
> Suresh

Alan Smith

2005-09-21, 7:48 am

Hi,

The listen shape would work, but you need to build a sequential convoy
orchestration that will loop, and have the listen shape in the loop. The
orchestration needs to be runing all the time, and needs to be triggered by
an initial message to activate it.

There's quite a bit of documentation / blogs about building convoy
orchestrations.

Regards,

Alan

--
The Bloggers Guide to BizTalk
http://geekswithblogs.com/asmith



"Gary" wrote:
[vbcol=seagreen]
> Hi Suresh,
>
> You may be able to use the listen shape to acheive this, have the receive
> shape in on one branch and a delay shape on the other. The orchestration will
> wait until either the receive port receives a message or the delay shape
> finishes. Whichever happens first the orchestration will continue down that
> branch.
>
> I haven't done this myself and I have heard about scope issues and access to
> variables etc. but it may be worth a try.
>
> Cheers,
> Gary
>
> "Suresh" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com