ws-tx message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: WS-BA: Allow Compensate in Active state
- From: "Peter Furniss" <peter.furniss@erebor.co.uk>
- To: <ws-tx@lists.oasis-open.org>
- Date: Fri, 30 Jun 2006 00:34:10 +0100
Section and PDF line number: state diagrams
and tables
Issue type: Design
Related issues:
Issue
Description:
A coordinator (or its application) that wishes to
just abort the work of an activity, regardless of the state of the participant,
will have to send Cancel,
and then follow with Compensate if the Cancel
crosses with Complete. As a
protocol message, the Compensate could be sent
immediately, being treated by
the participant as it would Cancel if the
participant is still active.
Issue Details
The present spec resolves a cancel/completed
collision in favour of the completed, and if the coordinator and its application
then determine the participant’s work should really be undone, a subsequent
compensate is sent. It is possible to imagine use-cases where this pattern is
important in an application (for example, if the compensation will involve some
penalty charges, which pre-completion cancellation would not). However, in many
other cases the intent of the coordinator and its application will be merely to
stop and undo if necessary without delay or reconsideration. This could be
accommodated without losing the flexibility of the current behaviour if
Compensate were allowed to be sent from the Active state, and the receipt by an
uncompleted Participant were treated as equivalent to Cancel.
Proposed resolution
Allow
Compensate from Active state, treated as equivalent to Cancel if received in
Active state
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]