SessionProperties.ConnectRetriesPerHost Property

Solclient

SessionPropertiesConnectRetriesPerHost Property
version: 7.2.1.27
When using a host list for the Host, this property defines how many times to try to connect or reconnect to a single host before moving to the next host in the list.

A value of 0 (the default) means make a single connection attempt (that is, 0 retries). A value of -1 means attempt an infinite number of reconnect retries (that is, the API only tries to connect or reconnect to first host listed.) Default: 0

NOTE: This property works in conjunction with the connect and reconnect retries settings; It does not replace them.

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
public int ConnectRetriesPerHost { get; set; }
Public Property ConnectRetriesPerHost As Integer
	Get
	Set
public:
property int ConnectRetriesPerHost {
	int get ();
	void set (int value);
}

Property Value

Type: Int32
See Also