tibemsConnectionFactory_SetReconnectAttemptTimeout

Function

Purpose

Modify the reconnection timeout setting.

C Declaration

tibems_status tibemsConnectionFactory_SetReconnectAttemptTimeout(
    tibemsConnectionFactory factory,
    tibems_int timeout );

COBOL Call

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

Parameters

Parameter Description
factory Set the reconnection timeout parameter of this connection factory.
timeout This value determines the maximum time (in milliseconds) a client will wait for the reconnection to be established. Zero is a special value, which specifies no timeout.

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

See Also

tibemsConnectionFactory_SetReconnectAttemptCount tibemsConnectionFactory_SetReconnectAttemptDelay

"Setting Reconnection Failure Parameters" in the TIBCO Enterprise Message Service User’s Guide.