resume orchestration from middle steps
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > resume orchestration from middle steps




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    resume orchestration from middle steps  
walter


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-20-05 10:50 PM

Hi there, we have a case that need to restart the orchestration from the
point that it fails.The situation is that we have a orch which reference 3-6
services.When one of the services fails , after the problem is fixed, we wan
t
the orch to start from the failure point instead of running from the
beginning. This is because most of time the problem is system-related ,not
business-related.

Well , I can make the orch to check if the step has been processed in the
earlier run, but I'm wondering if there is any other way.

Any inspiration is appreciated.





[ Post a follow-up to this message ]



    RE: resume orchestration from middle steps  
Stephen W. Thomas


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-21-05 07:48 AM

Hello.

There are a few different ways to go about it.

In the past, I have typically built this all into your main Orchestration
and had the Orchestration keep the status of that message.  Then, when a
problem occurs that step is marked as error.  So, when the message is
reprocessed it will only go to this step.  This approach uses a convoy.
Reprocess message come in through a different port so they could be
identified.  After the fact, this turned out to be a lot of overhead and
seemed to add a lot of complexity.

If I had it to do over, I would add additional optional attributes to my
message.  I would keep the Orchestration stateless and un-convoyed – let t
he
message track status.  When a process has a problem, a file would be written
to disk making it as needed.  So, when it is reprocessed it would only be
sent to the required steps.  Every message would do into the top of the
Orchestration and Decision shapes would be used to determine if the branch
needed to be run.

You could take this one further and separate out your different steps into
separate Orchestrations.  Then, use content based routing to send messages t
o
each Orchestration either in order or all at once.  I saw a demo doing
something like this using the Rules Engine.

Hope this helps.

Stephen W. Thomas
http://www.biztalkgurus.com
http://geekswithblogs.net/sthomas/


"walter" wrote:

> Hi there, we have a case that need to restart the orchestration from the
> point that it fails.The situation is that we have a orch which reference 3
-6
> services.When one of the services fails , after the problem is fixed, we w
ant
> the orch to start from the failure point instead of running from the
> beginning. This is because most of time the problem is system-related ,not
> business-related.
>
> Well , I can make the orch to check if the step has been processed in the
> earlier run, but I'm wondering if there is any other way.
>
> Any inspiration is appreciated.





[ Post a follow-up to this message ]



    RE: resume orchestration from middle steps  
walter


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-21-05 10:51 PM

Stephen, your answer is really valuable to me. I like the idea of making orc
h
stateless and use messagebox filter to control the flow. But this approach
lose the ability to visualize the overall biz flow. --visualization is almos
t
the only reason for me to accept orch concept.

"Stephen W. Thomas" wrote:
[vbcol=seagreen]
> Hello.
>
> There are a few different ways to go about it.
>
> In the past, I have typically built this all into your main Orchestration
> and had the Orchestration keep the status of that message.  Then, when a
> problem occurs that step is marked as error.  So, when the message is
> reprocessed it will only go to this step.  This approach uses a convoy.
> Reprocess message come in through a different port so they could be
> identified.  After the fact, this turned out to be a lot of overhead and
> seemed to add a lot of complexity.
>
> If I had it to do over, I would add additional optional attributes to my
> message.  I would keep the Orchestration stateless and un-convoyed – let
 the
> message track status.  When a process has a problem, a file would be writt
en
> to disk making it as needed.  So, when it is reprocessed it would only be
> sent to the required steps.  Every message would do into the top of the
> Orchestration and Decision shapes would be used to determine if the branch
> needed to be run.
>
> You could take this one further and separate out your different steps into
> separate Orchestrations.  Then, use content based routing to send messages
 to
> each Orchestration either in order or all at once.  I saw a demo doing
> something like this using the Rules Engine.
>
> Hope this helps.
>
> Stephen W. Thomas
> http://www.biztalkgurus.com
> http://geekswithblogs.net/sthomas/
>
>
> "walter" wrote:
> 





[ Post a follow-up to this message ]



    RE: resume orchestration from middle steps  
Stephen W. Thomas


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-21-05 10:51 PM

I’m not a BAM expert, but I would think you could use BAM to monitor acros
s
multiple Orchestration calls?  From that I’ve done in 2006 at least this
seems possible.

You might still want to look at isolating your separate service calls into
other Orchestrations, if you do not do so already.  You could still use a
single Orchestration to control the message flow to those other
Orchestration, but at least you have the flexibility to change them or call
them from some other process if needed.  In my past solution, this was
something I did not do and wish I would have.

Using a single Orchestration, you are correct that there is no easy way to
stat it in the middle.

Best of luck.

Stephen W. Thomas
http://www.biztalkgurus.com
http://geekswithblogs.net/sthomas/


"walter" wrote:
[vbcol=seagreen]
> Stephen, your answer is really valuable to me. I like the idea of making o
rch
> stateless and use messagebox filter to control the flow. But this approach
> lose the ability to visualize the overall biz flow. --visualization is alm
ost
> the only reason for me to accept orch concept.
>
> "Stephen W. Thomas" wrote:
> 





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:49 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register