Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 8 Connection Factory : tibemsConnectionFactory : tibemsConnectionFactory_SetConnectAttemptTimeout

tibemsConnectionFactory_SetConnectAttemptTimeout
Function
Purpose
Modify the connection timeout setting.
C Declaration
tibems_status tibemsConnectionFactory_SetConnectAttemptTimeout(
    tibemsConnectionFactory factory,
    tibems_int timeout );
COBOL Call
CALL "tibemsConnectionFactory_SetConnectAttemptTimeout"
USING BY VALUE factory,
BY VALUE timeout,
RETURNING tibems-status
END-CALL.
 
factory has usage pointer.
Parameters
 
This value determines the maximum time (in milliseconds) the client will wait for a connection to the server to be established.
The minimum permitted timeout is 100 milliseconds. However, under stress conditions, this minimum may be too low to enable reliable connection creation. In such cases, a value of greater than 1000 is suggested. Zero is a special value, which specifies no timeout.
See Also
tibemsConnectionFactory_SetConnectAttemptCount on page 268
tibemsConnectionFactory_SetConnectAttemptDelay on page 269
Setting Connection Attempts, Timeout and Delay Parameters in the TIBCO Enterprise Message Service User’s Guide

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved