Class BrokerClientConnectionOptions
The options specifying if and when the broker clients have to be automatically connected.
Inherited Members
Namespace: Silverback.Messaging.Configuration
Assembly: Silverback.Integration.dll
Syntax
public class BrokerClientConnectionOptions
Constructors
BrokerClientConnectionOptions()
The options specifying if and when the broker clients have to be automatically connected.
Declaration
public BrokerClientConnectionOptions()
Properties
Mode
Gets or sets the BrokerClientConnectionMode. The default is Startup.
Declaration
public BrokerClientConnectionMode Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| BrokerClientConnectionMode |
RetryInterval
Gets or sets interval between the connection retries. The default is 5 minutes. This setting is ignored when Mode is set to Manual.
Declaration
public TimeSpan RetryInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
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.
Declaration
public bool RetryOnFailure { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |