In this chapter, we learned about compensation in WS-BPEL 2.0 in detail. It lets us define a compensation logic as per a <scope>
or an <invoke>
activity and trigger it from <catch>
, <catchAll>
, <compensationHandler>
, or <terminationHandler>
using <compensate>
or <compensateScope>
. We used a book ordering process to explain the concepts in detail. Therefore, at the end of this chapter, the reader is capable of specifying compensation handlers and can trigger them in BPEL processes to undo activities in the business processes that have already completed normally.
WS-BPEL 2.0 Beginner's Guide
WS-BPEL 2.0 Beginner's Guide
Overview of this book
Table of Contents (19 chapters)
WS-BPEL 2.0 Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Hello BPEL
Service Invocation
Variables, Data Manipulation, and Expressions
Conditions and Loops
Interaction Patterns in BPEL
Fault Handling and Signaling
Working with Scopes
Dynamic Parallel Invocations
Human Tasks
Events and Event Handlers
Compensations
Pop Quiz Answers
Index
Customer Reviews