Red Hat Training
A Red Hat training course is available for JBoss Enterprise SOA Platform
4.9. Fault, Compensation, Termination and Event Handlers
Table 4.9. Fault, Compensation, Termination and Event Handlers
Name | Description |
---|---|
Fault handler | Executed when a fault is thrown by an activity. |
Compensation handler | Executed when the BPEL process encounters a Compensate or CompensateScope activity. |
Termination handler | Executed if a Scope is forced to terminate early. |
Event handler | Executed for events include the receipt of a message and a timer expiration. |
Scope-level handlers | A Scope may have any handler. Since Scopes can be nested, each level can define its own set of handlers. Events that are not caught and processed by a handler in an inner Scope, will be propagated to its ancestors. |
Activity-level handlers | Only the Invoke activity can define handlers. The handlers available to it are the fault and compensation handlers. |