Configuring Java CAPS Environment Components for Database Adapters

Outbound DB2 Connect XA Adapter - Connection Retry Settings

The Outbound DB2 Connect XA Adapter > Connection Retry Settings section of the DB2 Connect Environment properties, contains the top-level parameters displayed in the following table.

Table 20 Outbound DB2 Connect XA Adapter - Connection Retry Settings

Name 

Description 

Required Value 

ConnectionRetries 

Specifies the number of retries to establish a connection with the DB2 Connect database upon a failure to acquire one. 

an integer indicating the number of attempts allowed to establish a connection. The configured default is 0.

ConnectionRetry Interval 

Specifies the milliseconds of pause before each attempt to access the database. This setting is used in conjunction with the Connection Retries setting. 

For example: In the event that the Adapter cannot connect to the Database, the Adapter will try to reconnect to the database 10 times in 5 seconds intervals when the Connection Retries is 10 and the Connection Retry Interval is 5000. 

An integer indicating the configured length of the time (in milliseconds) before each reattempt to access the destination file. The configured default is 1000 (1 second).