Function
Modify the reconnection attempts setting.
tibems_status
tibemsConnectionFactory_SetReconnectAttemptCount(tibemsConnectionFactory
factory,tibems_int
connAttempts );
CALL "tibemsConnectionFactory_SetReconnectAttemptCount" USING BY VALUE factory, BY VALUE connAttempts, RETURNING tibems-status END-CALL.
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
.
tibemsConnectionFactory_SetReconnectAttemptDelay
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |