We are on SOA 126.96.36.199 and following set up are in place in our environment.
Based on the above set up, the instance is being retried periodically and at timesm we noticed that some of the instance are failing continuously due to remote fault. We are thinking of modifying our fault policy, such that if an instance has failed after 5 human intervention recovery, we want to re-throw the fault (instead of marking the instance as human intervention). In order to achieve this, we would like to know, how to retrieve following data in fault policy or in java action class
Based on the above information, we would build some logic to decide, whether the instance should be marked for action as human intervention or re-throw the fault.
BPEL instance specific data may be obtained using BPELFaultRecoveryContextImpl class (refer- http://docs.oracle.com/cd/E12839_01/integration.1111/e10224/bp_faults.htm#CIHHGCCA); but not sure whether there are methods to retrieve above mentioned information.