Oracle SOA Suite 12c Essentials — Question 52
Composite X invokes an outbound DB adapter to write data to a database table. You have configured JCA retry at the binding component as follows:
<property name = "jca.retry.count" type="xs:int" many="false" override ="may">2</property>
<property name = "jca.retry.interval" type="xs:int" many="false" override ="may">2</property>
You have also modeled a fault policy to retry the invocation three times in case of remoteFault as follows:
<retryCount>3<retryCount>
<retryInterval>3<retryInterval>
What happens when the database that is being accessed by the above binding component goes down?
Answer options
- A. The invocation is retried for a total of two times every two seconds. Fault policy reties are ignored.
- B. The invocation is retried for a total of six times every three seconds.
- C. The invocation is retried for a total of six times every two seconds.
- D. The fault policy retries occur within the JCA retries. So, two JCA retries are executed two seconds apart. Within each fault policy retry, two JCA retries are
Correct answer: D
Explanation
The correct answer is D because the JCA retries and fault policy retries are integrated, allowing for a total of six retries (two JCA retries for each of the three fault policy attempts). Answers A, B, and C misinterpret the interaction between the JCA retries and the fault policy, leading to incorrect counts and intervals.