Chapter 3. Introduction to business processes 39
Event handlers
Each scope, as well as the business process as a whole, can be associated with
a set of event handlers. There are two types of events:
Message events, which are incoming messages
Alarms that go off after user-set times
Event handlers are part of the normal behavior of a scope, unlike compensation
and fault handlers. The event handlers associated with a scope are enabled
when that scope commences. They are disabled when the normal processing of
the scope is complete. Any event handlers which have already been dispatched
are allowed to complete. The scope as a whole is not considered to be complete
until all event handlers have finished processing.
3.4 Service Component Architecture ...