[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Question about pass by value
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]