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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ws-caf message

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


Subject: [Fwd: Re: [ws-caf] Question about pass by value]




It's impossible to answer your question without reference to a defined 
semantic. Each context is a point in time representation and presumably 
the spec that defines the semantic has rules to account for this scenario.

Greg

Murray, Bryan P. wrote:

>Service A creates a context. Service A then performs some work and in
>the process adds some information to the context. At some later time
>Service A needs to send a message to Service B which is to be processed
>as part of the same activity that Service A is working on so the context
>is passed by value with the message to Service B. As part of the same
>activity, Service A continues performing work and adds some additional
>information to the context it created earlier. Now Service A realizes it
>needs the help of Service C to complete the activity so Service A sends
>a message to Service C with the context passed by value. Service B and
>Service C also modify the context as they process work for the activity.
>At some later time Service A receives a message back from both Service B
>and Service C, both containing a context passed by value.
>
>Now Service A has 3 contexts, all with the same context-identifier, all
>having different sets of information, all having information about the
>same activity. Which context should Service A use for further processing
>of the activity?
>
>
>Bryan
>  
>




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