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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ws-tx message

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


Subject: Issue 069 - WS-BA: Allow Compensate in Active state


This is identified as WS-TX issue 069.

 

Please ensure follow-ups have a subject line starting "Issue 069 - WS-BA: Allow Compensate in Active state".

 

From: Peter Furniss [mailto:peter.furniss@erebor.co.uk]
Sent: Thursday, June 29, 2006 4:34 PM
To: ws-tx@lists.oasis-open.org
Subject: [ws-tx] WS-BA: Allow Compensate in Active state

 

Issue name -- WS-BA: Allow Compensate in Active state 
 
PLEASE DO NOT REPLY TO THIS EMAIL OR START A DISCUSSISON THREAD UNTIL THE ISSUE IS ASSIGNED A NUMBER.
 
The issues coordinator will notify the list when that has occurred.
 
Target document and draft:
 
Protocol:  WS-BA
 
Artifact:  spec
 
Draft:  BA spec cd 2
 
Link to the document referenced:
 
 
http://www.oasis-open.org/committees/download.php/18819/wstx-wsba-1.1-spec-cd-02.doc

 

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]