receiving an abort request
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 > receiving an abort request




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

    receiving an abort request  
ChuckD_Duncan


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


 
05-18-05 10:59 PM

Situation: sub-orchestration has been called to Send a request at some
later date/time (followed by a correlated receive).
Easy enough so far, just put a Delay in for the Timespan and then hang out
til time to do the Send.
BUT during that delay, the end user may want to ABORT.  Thus I have the
Delay and a RECEIVE in parallel - whichever completes first wins.  If the
abort is received, obviously we get out of the sub-orchestration and
everyone is happy.
BUT since the SEND has not occurred I cannot Correlate the incoming Abort
request with anything.  I cannot mark it as Activating because then I
can't call this orchestration from a higher-level one.

What's a poor boy to do?
Thanks in advance.
Chuck Duncan






[ Post a follow-up to this message ]



    Re: receiving an abort request  
Tomas Restrepo \(MVP\)


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


 
05-19-05 07:47 AM

Chuck,

> Situation: sub-orchestration has been called to Send a request at some
> later date/time (followed by a correlated receive).
> Easy enough so far, just put a Delay in for the Timespan and then hang out
> til time to do the Send.
> BUT during that delay, the end user may want to ABORT.  Thus I have the
> Delay and a RECEIVE in parallel - whichever completes first wins.  If the
> abort is received, obviously we get out of the sub-orchestration and
> everyone is happy.
> BUT since the SEND has not occurred I cannot Correlate the incoming Abort
> request with anything.  I cannot mark it as Activating because then I
> can't call this orchestration from a higher-level one.

I haven't tried this, but: couldn't you a) use a Listen shape instead of a
Parallel actions shape? As for the correlation, you could simply use a
separate correleation, started from the parent orchestration (it certainly
should have something to indicate what could be aborted) and then pass that
correlation as an argument to the suborchestration?

What I'm meaning is that the parent orchestration certainly knows what
you're to send from the suborchestration, possibly initializing the
correlation when the parent orchestration received its starting message, for
example.

Consider this example:
- Parent orchestration is started, with request with ID 500. Orchestration
initialized a correlation based on ID 500 on activating receive
- Parent orchestration calls suborchestration to send reply to request ID
500 and passes the correlation to the suborchestration as an argument
- Suborchestration listens to abort message for request 500 based on the
correlation.


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/







[ Post a follow-up to this message ]



    Re: receiving an abort request  
ChuckD_Duncan


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


 
05-23-05 10:53 PM

I agree Tomas, I think that sounds great.  I am working on setting that up
and I will let you know how it works out.  It almost seems obvious once
you described it.

Thanks again.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:12 AM.      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