[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsbpel] State recovery in compensation
As I understand the intent of the resolution of issue 3: Any data values established by the scope's pre-compensation completion are frozen (there is no means of changing those values: the scope's activity is finished -- in that sense they are "snapshotted", but in fact snapshot is a logical no-op). The compensation handler is seen as a logical extension of the scope's work, if invoked, and therefore shares the current state of the scope which equals: the state of the scope after all of its forward work is completed + the current state of all enclosing scopes' data values. In other words the compensation handler operates on currently existing reality at the point of handler invocation, and not on a snapshot of reality as it was at the point of scope "completion" (end of forward work). It seems evident, as you point out, that all data items that have state should be accessible according to these rules, if I have understood correctly. Alastair Yuzo Fujishima wrote: > Hi, > > I understand that when a compensation handler is run, > the values of local variables and local partner links of the > target scope are recovered from the scope snapshot. (Correct me if > wrong.) > > Q1: How about correlation sets declared in the scope? > Should they be also recovered? (I think so.) > > ---- > > The 01SEP2005 spec reads: > > 13.3.2. Process State Usage in Compensation Handlers > > ... > The variables include partnerLinks at the process scope. > ==================== ? > ... > > Q2: Is this line right? Why are other partner links excluded? > > Yuzo Fujishima > NEC Corporation > > > --------------------------------------------------------------------- > To unsubscribe from this mail list, you must leave the OASIS TC that > generates this mail. You may a link to this group and all your TCs in > OASIS > at: > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]