tibemsConnectionFactory_SetReconnectAttemptCount
Function
Purpose
Modify the reconnection attempts setting.
C Declaration
tibems_status tibemsConnectionFactory_SetReconnectAttemptCount( tibemsConnectionFactory factory, tibems_int connAttempts );
COBOL Call
CALL "tibemsConnectionFactory_SetReconnectAttemptCount" USING BY VALUE factory, BY VALUE connAttempts, RETURNING tibems-status END-CALL.
Note:
factory
has usage pointer.
Parameters
Parameter | Description |
---|---|
factory
|
Set the reconnection attempts parameter of this connection factory. |
connAttempts
|
This value limits the number of times that a connection object attempts to reestablish a connection to the server. The minimum value is 1.
When this property is not set, the default value is 4. |
See Also
tibemsConnectionFactory_SetReconnectAttemptDelay
tibemsConnectionFactory_SetReconnectAttemptTimeout
Set Reconnection Failure Parameters in the TIBCO Enterprise Message Service User Guide.