tibemsConnectionFactory_SetConnectAttemptCount


Function

Purpose

Modify the connection attempts setting.

C Declaration

tibems_status tibemsConnectionFactory_SetConnectAttemptCount( 
    tibemsConnectionFactory factory, 
    tibems_int connAttempts ); 

COBOL Call

CALL "tibemsConnectionFactory_SetConnectAttemptCount" 
     USING BY VALUE factory, 
           BY VALUE connAttempts, 
           RETURNING tibems-status 
END-CALL. 

factory has usage pointer.

Parameter
Description
factory
Set the connection attempts parameter of this connection factory.
connAttempts
This value limits the number of times that a connection object attempts to establish a connection to the server. The minimum value is 1.
When this property is not set, the default value is 2.

See Also

tibemsConnectionFactory_SetConnectAttemptDelay


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