# tibemsConnectionFactory_SetConnectAttemptDelay

Function

## Purpose

Modify the connection delay setting.

## C Declaration

    tibems_status tibemsConnectionFactory_SetConnectAttemptDelay(
        tibemsConnectionFactory factory,
        tibems_int delay );

## COBOL Call

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

Note: `factory` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`factory` | Set the connection delay parameter of this connection factory.
`delay` | This value determines the time (in milliseconds) between connection attempts. The minimum value is 250. When this property is not set, the default value is 500.

## See Also

`tibemsConnectionFactory_SetConnectAttemptCount` `tibemsConnectionFactory_SetConnectAttemptTimeout`

"Setting Connection Attempts, Timeout and Delay Parameters" in the TIBCO Enterprise Message Service User’s Guide

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