Serializing Retry of Transactions
Original Publication Date: 2004-Dec-06
Included in the Prior Art Database: 2004-Dec-06
Languages for describing business processes such as Business Process Execution Language for Web Services (BPEL4WS) typically provide the notion of scopes. Scopes represent a set of activities that have some common property, such as transaction properties. In atomic scopes, the activities within the scope are run as a standard ACID transaction, in compensation scopes, the activities are run as a business transaction. In the case, a compensation scope is defined within an atomic scope, failure of the atomic scope, may result in a retry of the atomic scope before the undo of the compensation scope has completed. This may result in some unexpected behavior. A method is suggested that provides for the delay of the restart of a failing atomic scope until rollback of the compensation scope has completed.