tibems_SetReconnectAttemptTimeout

Function

Purpose

Modify the reconnection timeout.

C Declaration

tibems_status tibems_SetReconnectAttemptTimeout(
    tibems_int timeout);

COBOL Call

CALL "tibems_SetReconnectAttemptTimeout"
 USING BY VALUE timeout,
       RETURNING tibems-status
END-CALL.

Remarks

This setting governs all client tibemsConnection objects. It determines the maximum time (in milliseconds) to client will allow to reestablish a connection to the server.

Parameters

Parameter Description
timeout Set the reconnect timeout to this value. Zero is a special value, which specifies no timeout.

The default value is 0.

See Also

tibems_GetReconnectAttemptTimeout

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