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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsbpel message

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


Subject: Issue - 135 - Clarifying forcedTermination Handler


This issue has been added to the wsbpel issue list. The issues list is posted as a Technical Committee document to the OASIS WSBPEL TC pages on a regular basis. The current edition, as a TC document, is the most recent version of the document entitled in the "Issues" folder of the WSBPEL TC document list - the next posting as a TC document will include this issue. The list editor's working copy, which will normally include an issue when it is announced, is available at this constant URL.

Issue - 135 - Clarifying forcedTermination Handler

Status: open
Categories: Syntax and validation
Date added: 15 Jul 2004
Submitter: Yaron Y. Goland
Date submitted: 15 July 2004
Description: The name 'forcedTermination' is really confusing to me because the forcedTermination handler is not called when the terminate activity is called. This makes sense since terminate means 'die NOW' not 'first run a bunch of clean up and then die' but the name caused me a lot of confusion.

The semantics of the forcedTermination handler, that it can't throw any faults, makes sense but I think the way we specify fault handlers could cause programmers some serious headaches. For example, if someone defines a catchAll handler and they don't define a forcedTermination handler then if a scope is killed the catchAll handler will catch the forcedTermination fault. However the catchAll handler's logic probably thinks it can throw its own faults, which will normally be true unless the fault it caught was a forcedTermination fault. Yuck.
Submitter's proposal: Change the name to something like faultCleanUpHandler.

We should probably define an implicit forcedTermination handler on all scopes. If someone doesn't define an explicit forcedTermination handler then the implicit one (which will do nothing) will run. This means that catchAll will never catch a forcedTermination fault.
Changes: 15 Jul 2004 - new issue


To comment on this issue, please follow-up to this announcement on the wsbpel@lists.oasis-open.org list (replying to this message should automatically send your message to that list), or ensure the subject line as you send it starts "Issue - 135 - [anything]" or is a reply to such a message. If you want to formally propose a resolution, please start the subject line "Issue - 135 - Proposed resolution", without any Re: or similar.

To add a new issue, see the issues procedures document (but the address for new issue submission is the sender of this announcement).



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