Show / Hide Table of Contents

    Class BrokerConnectionOptions

    The options specifying if and when the message broker has to be automatically connected.

    Inheritance
    object
    BrokerConnectionOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.Configuration
    Assembly: Silverback.Integration.dll
    Syntax
    public class BrokerConnectionOptions

    Properties

    | Improve this doc View source

    Default

    Gets the default options.

    Declaration
    public static BrokerConnectionOptions Default { get; }
    Property Value
    Type Description
    BrokerConnectionOptions
    | Improve this doc View source

    Mode

    Gets or sets the BrokerConnectionMode. The default is Startup.

    Declaration
    public BrokerConnectionMode Mode { get; set; }
    Property Value
    Type Description
    BrokerConnectionMode
    | Improve this doc View source

    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
    | Improve this doc View source

    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
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini