OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

provision message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [provision] Async execution (was"Re: [provision] Asynchronou s requests").


Jeff Bohren wrote:

> 
>It seems to me that to have a client look at the results of the request and detect that an asynchronous request was performed synchronously is not a lot of extra work. After all, the client must look at the response anyway to know that the request was successfully submitted. To have one extra bit of logic to see the the request was actually fulfilled seems to be worth the benefit.
> 
>  
>
Agreed.  If we wanted to be really pedantic about this we could 
introduce the
notion of  a "preferred" execution mode which the provider would be allowed
to change. e.g.   sync, async, preferredSync and preferredAsync.  Requesters
that just have to work one way would use sync or async.  Requesters that 
can adapt
to either style but prefer one would use preferredSync and 
preferredAsync.  If not
specified, the default mode would be preferredSync.

But I agree with Jeff that after you've added all the machinery necessary to
handle async messages, detecting  that it was performed synchronously
isn't that much more work. 

Jeff



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]