Tibems.SetReconnectAttempts


Method

Declaration

static void SetReconnectAttempts( 
    string specs ); 

Purpose

Modify the reconnection attempts setting.

Remarks

This setting governs all client Connection objects as they attempt to reconnect to the server after a network disconnect.

Parameter
Description
specs
Set the reconnect setting to these specifications. The value must be string of the form attempts or attempts,delay:
  • attempts limits the number of times that the connection object attempts to reestablish a connection to the server. When this property is absent, the default value is 4. The minimum value is 1.
  • delay is the time (in milliseconds) between reconnection attempts. When absent, the default value is 500. The minimum value is 250.

See Also

Tibems.GetReconnectAttempts


TIBCO Enterprise Message Service™ .NET Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com