[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsbpel] Issue - 217 - Need new name for <compensate>
+1. This is basically the same observation I made in a couple of appends on 207. From my point of view, 217 cannot be opened as a bug issue as it makes assumptions about the behavior of <compensate/> that are not described in the spec. Kind Regards DK Alex Yiu <alex.yiu@oracle. com> To Alex Yiu <alex.yiu@oracle.com> 23.06.2005 23:41 cc Danny van der Rijn <dannyv@tibco.com>, "Yaron Y. Goland" <ygoland@bea.com>, wsbpel@lists.oasis-open.org Subject Re: [wsbpel] Issue - 217 - Need new name for <compensate> Sorry, I accidentally hit the send button before I finished my last sentence. :-) ----------------------------------- <compensate /> serves a higher level activity which calls the compensation handlers of all completed CHILD scopes in the compensation order as specified by Issue 1 and 10. Vaguely speaking, one would consider <compensate /> as an "intelligent" version "macro" that represents a series of <compensate scope="scopeName" /> activities. ----------------------------------- Regards, Alex Yiu Alex Yiu wrote: Hi, Yaron and Danny, Even though I would not oppose renaming <compensate /> to something else. (e.g. <compensateChildScopes /> ) to avoid any further confusion. (Because, one of my customers got confused also.) But, there was a major misunderstanding in the issue description expressed by Yaron: "The semantics of <compensate/> are to call the local compensation handler for the enclosing scope." That is incorrect. <compensate /> serves a higher level activity which calls the compensation handlers of all completed CHILD scopes in the compensation order as specified by Issue 1 and 10. Vaguely speaking, one (Satish was the main driver of these 2 issues, while Nick and I were the major backer of those 2 issues as well as IBM folks). Only activity in faultHandler/terminationHandler/compensation of parent scope can call the compensation handler. Example to clarify: -------------------------- <scope name="A">