Class BrokerClientConnectionOptions
- Namespace
- Silverback.Messaging.Configuration
- Assembly
- Silverback.Integration.dll
The options specifying if and when the broker clients have to be automatically connected.
public class BrokerClientConnectionOptions
- Inheritance
-
BrokerClientConnectionOptions
- Inherited Members
Constructors
BrokerClientConnectionOptions()
public BrokerClientConnectionOptions()
Properties
Mode
Gets or sets the BrokerClientConnectionMode. The default is Startup.
public BrokerClientConnectionMode Mode { get; set; }
Property Value
RetryInterval
Gets or sets interval between the connection retries. The default is 5 minutes. This setting is ignored when Mode is set to Manual.
public TimeSpan RetryInterval { get; set; }
Property Value
RetryOnFailure
Gets or sets a value indicating whether a retry must be performed if an exception is thrown when trying to connect. The default
is true. This setting is ignored when Mode is set to Manual.
public bool RetryOnFailure { get; set; }