What happens when the database that is being accessed by the above binding component goes down?

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?

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?

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 executed two seconds apart.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Williams Gómez

Williams Gómez

D