Collapse All Expand All

.NET Framework Class Library
Tibems Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Defines the name of the provider property controlling the number of attempt the connections make to reconnect to the backup server during the fault-tolerant switch.

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public const string PROP_RECONNECT_ATTEMPTS

    Public Const PROP_RECONNECT_ATTEMPTS As String

    public:
    literal String^ PROP_RECONNECT_ATTEMPTS

# Remarks

This property is similar to PROP_CONNECT_ATTEMPTS. The difference is that it may be necessary to use different parameters during reconnect than during the initial connect. Initial connect of the clients to the server is normally distributed in time and there are less chances of the server exceeding its maximum accept queue. During fault-tolerant switch, all connected clients automatically try to reconnect to the backup server, approximately at the same time. When the number of connections is large, it may require more attempts to reconnect than the initial connect. The value of this property is a string in the form "NN[,DELAY]" where NN is the number of attempts and DELAY is delay in milliseconds between the attempts. Minimum value of NN is 1, minimum value of DELAY is 250 milliseconds. Default value used is "4,500".

This property is defined as string "tibco.tibjms.reconnect.attempts".

# See Also

Tibems Class
TIBCO.EMS Namespace