BizTalk Server Orchestration - Manual starting of orchestration process

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > May 2004 > Manual starting of orchestration process





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 Manual starting of orchestration process
SB

2004-05-17, 11:42 am

How to run the orchestration process manually? I would like to run the orchestration process like a service based on interval. I appreciate any help.
Gilles [MSFT]

2004-05-17, 2:40 pm

Hello,

>How to run the orchestration process manually? I would like to run the orchestration process like a service based on interval. I appreciate any help.


There are multiple ways to do this. Let me outline one that I believe gives some flexibility.

Start your orchestration with a receive shape which will listen for a "start" message.
Then put a loop and your processing inthe body, with a delay shape of your interval.
Make sure you also listen for a "stop" message, in parallel.

After deploying the orchestration, you can simulate the service start by sending a message to the orchestration.
This can be a file that you put in a directory, or a message sent through http ... anything you want. If you wish to use
http, the tutorial contains a simple tool with source that allows to post a message to an http port (SDK\Tutorial\Lessons\BAS\HttpPost)

The orchestration will start, perform your proecssing and then go to sleep (dehydration).
Then, when the delay expired, the orchestration will hydrate, process again and dehydrate.
You could even put the delay inside the "activation" message of your orchsestration to make it further configurable.
When you want to stop your service, you could then send the "stop" message and it would tell the orchestration to exit.

For performance reasons, make sure your delay is not too small or the engine will continuously hydrate/dehydrate orchestrations.

This is one way of implementing this and there are numerous other ways. I hope this helps.

Thanks.
-Gilles.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com