Using the Oracle SOA Suite's Infrastructure Management Java API, it's possible to query the BPEL Engine for faults and recover this faults programmatically using the following Facades:
To download this source code together with 2 SOA Composites to simulate a Business Fault, click here.
for more info.
http://blog.andrade.inf.br/2010/07/soa-suite-11g-fault-recovery.html
- Locator: entry point to Facades API.
- BPELServiceEngine: allows to query for faults, get and set variables data and recovery faults.
- Fault: allows retrieve fault details information.
- FaultRecoveryActionTypeConstants: contains Action constants used to recover faults.
- <middleware_home>/oracle_common/modules/oracle.fabriccommon_11.1.1/fabric-common.jar
- <middleware_home>/jdeveloper/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar
- <middleware_home>/wlserver_10.3/server/lib/weblogic.jar
- <middleware_home>/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/oracle-soa-client-api.jar
- <middleware_home>/oracle_common/webservices/wsclient_extended.jar
for more info.
http://blog.andrade.inf.br/2010/07/soa-suite-11g-fault-recovery.html
No comments:
Post a Comment