Book Image

WS-BPEL 2.0 Beginner's Guide

By : Matjaz B Juric
Book Image

WS-BPEL 2.0 Beginner's Guide

By: Matjaz B Juric

Overview of this book

If you are a software architect, a designer, a software developer, an SOA and BPM architect, a project manager, or a business process analyst who is responsible for the design and development of business processes, composite applications, and BPM/SOA solutions, then this book is for you. You should have a clear grasp of general SOA concepts including business processes and web services, but no prior knowledge of the BPEL language is required.
Table of Contents (14 chapters)
13
Index

Adding an event handler to the Book Warehousing BPEL process

We will now add an event handler to our Book Warehousing BPEL process. Event handlers allow a BPEL process to execute and still listen to the events and handle them whenever they occur. The event can be a message or an alarm event. If the corresponding events occur, an event handler is invoked concurrently with the BPEL process instance. We can specify event handlers for the whole BPEL process as well as for each scope.

Adding an alarm event handler

A typical usage of event handlers is to control the maximum execution time of a BPEL process. The other typical usage is to handle a cancellation message from the client.