Fault management framework
In addition to standard BPEL fault handling mechanism, Oracle SOA Suite 11g provides a generic fault management framework for handling faults in BPEL processes. This framework presents an alternative to designing BPEL processes with<catch>
activities and allows us to externalize fault handling in a separate file, which makes the BPEL code more readable. Using the fault management framework, we are able to catch both business and runtime faults for an<invoke>
activity. We use the fault policy file (fault-policies.xml) to define fault conditions and corresponding recovery actions. Each fault condition specifies a particular fault or groups of faults, which it attempts to handle, and the corresponding action for it. We can choose between the following supported recovery actions:
Retry: When we want to retry the failed
<invoke>
activity. We can set the number of retries and the interval between retries (static, exponential).Human intervention: The...