# tibems_SetReconnectAttemptDelay

`Function`

## Purpose

Modify the reconnection delay.

## C Declaration

    tibems_status tibems_SetReconnectAttemptDelay(
        tibems_int delay);

## COBOL Call

    CALL "tibems_SetReconnectAttemptDelay"
     USING BY VALUE delay,
           RETURNING tibems-status
    END-CALL.

## Remarks

This setting governs all client `tibemsConnection` objects. It determines the delay time between successive attempt to establish a connection to the server. Its value is the time (in milliseconds) between connection attempts.

## Parameters

Parameter | Description
--- | ---
`delay` | Set the reconnect delay to this value. The default value is 500. The minimum value is 250.

## See Also

`tibems_GetReconnectAttemptDelay`

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

Copyright © Cloud Software Group, Inc. All rights reserved.