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 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 modeled a fault policy to retry the invocation three times in case of
remoteFault as follows: <retryCount>3<retryCount> <retryInterval>3<retryInterval> Which
result describes 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 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 modeled a fault policy to retry the invocation three times in case of
remoteFault as follows: <retryCount>3<retryCount> <retryInterval>3<retryInterval> Which
result describes what happens when the database that is being accessed by the above
binding component goes down?

A.
The JCA retries occur within the fault policy retries. So three fault policy retries are
executed three seconds apart. Within each fault policy retry, two JCA retries are
executed two seconds apart.

B.
The fault policy retries occur within the JCA retries. So two JCA retries are
executed two seconds apart. Within each JCA retry, three fault policy retries are
executed three seconds apart.

C.
The invocation is retried for a total of six times every three seconds.

D.
The invocation is retrieved for a total of two times every two seconds. Fault policy
retries are ignored.

E.
The invocation is retried for a total of six times every two seconds.



Leave a Reply 2

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