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. 

factory has usage pointer.

Remarks

tibemsConnection objects attempt to reconnect to the server after a network disconnect.

To enable reconnection behavior and fault tolerance, the connection factory’s server URL parameter must be a comma-separated list of two or more URLs. To enable client reconnection in a situation with only one server, you may supply two copies of that server’s URL. See tibemsConnectionFactory_SetServerURL .

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.

See Also

tibemsConnectionFactory_SetReconnectAttemptCount


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com