Associating a Fault Policy with Fault Policy Binding

Note:

The fault policy binding file must be named fault-bindings.xml. This conforms to the fault-bindings.xsd schema file.

To associate a fault policy with fault policy binding:

  1. Create a fault policy binding file (fault-bindings.xml) that associates the policies defined in the fault policy file with the level of fault policy binding you are using (either a SOA composite application or a component (reference binding component or BPEL process or Oracle Mediator service component).
  2. Place the file in the same directory as the composite.xml file or place it in a remote location and define the oracle.composite.faultBindingFile property as shown in Step 2 of Manually Creating a Fault Policy File for Automated Fault Recovery.

    This fault policy bindings file associates the fault policies defined in the fault-policies.xml file.

    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicyBindings version="0.0.1"
     xmlns="http://schemas.oracle.com/bpel/faultpolicy"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <composite faultPolicy="FusionMidFaults"/>
        <!--<composite faultPolicy="ServiceExceptionFaults"/>-->
        <!--<composite faultPolicy="GenericSystemFaults"/>-->
    </faultPolicyBindings>