tibemsConnectionFactory_SetReconnectAttemptDelay

Function

Purpose

Modify the reconnection delay setting.

C Declaration

tibems_status tibemsConnectionFactory_SetReconnectAttemptDelay(
    tibemsConnectionFactory factory,
    tibems_int delay );

COBOL Call

CALL "tibemsConnectionFactory_SetReconnectAttemptDelay"
     USING BY VALUE factory,
           BY VALUE delay,
           RETURNING tibems-status
END-CALL.
Note: factory has usage pointer.

Parameters

Parameter Description
factory Set the reconnection delay parameter of this connection factory.
delay This value determines the time (in milliseconds) between reconnection attempts. The minimum value is 250.

When this property is not set, the default value is 500.