Handling a system exception—Fault Management Framework
The purpose of the Fault Management Framework is to provide error handling that is external to SOA and does not impact the SOA/BPEL design or runtime. The framework is implemented using policies defined in XML.
These policies are reusable across composites/components and can catch both runtime and business faults. Once a fault is caught, the policy defines actions that can be used for the SOA instance, such as retry, human intervention, replay scope, rethrow fault, abort, and custom Java actions.
These policies can be bound to composites and/or components. When the policies have been defined and bound to composites and/or components, the framework will intercept the fault before the standard fault handler comes into play.
You will create two XML policy files required to set up the Fault Management Framework in SOA, the first of which is fault-policies.xml
. This file contains one or more Fault Policy definitions, fault definitions (which...