Show / Hide Table of Contents

    Class RabbitConnectionConfig

    The configuration used to connect with the RabbitMQ broker.

    Inheritance
    object
    RabbitConnectionConfig
    Implements
    IEquatable<RabbitConnectionConfig>
    IValidatableEndpointSettings
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.Configuration.Rabbit
    Assembly: Silverback.Integration.RabbitMQ.dll
    Syntax
    public sealed class RabbitConnectionConfig : IEquatable<RabbitConnectionConfig>, IValidatableEndpointSettings

    Properties

    | Improve this doc View source

    AmqpUriSslProtocols

    Gets or sets the AMQP URI SSL protocols.

    Declaration
    public SslProtocols? AmqpUriSslProtocols { get; set; }
    Property Value
    Type Description
    SslProtocols?
    | Improve this doc View source

    AutomaticRecoveryEnabled

    Gets or sets a value indicating whether the automatic connection recovery is enabled. The default is true.

    Declaration
    public bool? AutomaticRecoveryEnabled { get; set; }
    Property Value
    Type Description
    bool?
    | Improve this doc View source

    ClientProperties

    Gets or sets the dictionary of client properties to be sent to the server.

    Declaration
    public IDictionary<string, object> ClientProperties { get; set; }
    Property Value
    Type Description
    IDictionary<string, object>
    | Improve this doc View source

    ClientProvidedName

    Gets or sets the default client provided name to be used for connections.

    Declaration
    public string? ClientProvidedName { get; set; }
    Property Value
    Type Description
    string
    | Improve this doc View source

    ContinuationTimeout

    Gets or sets the amount of time the protocol operations (e.g.

    queue.declare
    ) are allowed to take before timing out.
    Declaration
    public TimeSpan? ContinuationTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan?
    | Improve this doc View source

    HandshakeContinuationTimeout

    Gets or sets the amount of time protocol handshake operations are allowed to take before timing out.

    Declaration
    public TimeSpan? HandshakeContinuationTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan?
    | Improve this doc View source

    HostName

    Gets or sets the name of th e host to connect to.

    Declaration
    public string? HostName { get; set; }
    Property Value
    Type Description
    string
    | Improve this doc View source

    NetworkRecoveryInterval

    Gets or sets the amount of time the client will wait for before re-trying to recover the connection.

    Declaration
    public TimeSpan? NetworkRecoveryInterval { get; set; }
    Property Value
    Type Description
    TimeSpan?
    | Improve this doc View source

    Password

    Gets or sets the password to use when authenticating to the server.

    Declaration
    public string? Password { get; set; }
    Property Value
    Type Description
    string
    | Improve this doc View source

    Port

    Gets or sets the port to connect on.

    Declaration
    public int? Port { get; set; }
    Property Value
    Type Description
    int?
    | Improve this doc View source

    RequestedChannelMax

    Gets or sets the maximum channel number to ask for.

    Declaration
    public ushort? RequestedChannelMax { get; set; }
    Property Value
    Type Description
    ushort?
    | Improve this doc View source

    RequestedConnectionTimeout

    Gets or sets the timeout setting for the connection attempts.

    Declaration
    public TimeSpan? RequestedConnectionTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan?
    | Improve this doc View source

    RequestedFrameMax

    Gets or sets the frame-max parameter to ask for (in bytes).

    Declaration
    public uint? RequestedFrameMax { get; set; }
    Property Value
    Type Description
    uint?
    | Improve this doc View source

    RequestedHeartbeat

    Gets or sets the heartbeat timeout to use when negotiating with the server.

    Declaration
    public TimeSpan? RequestedHeartbeat { get; set; }
    Property Value
    Type Description
    TimeSpan?
    | Improve this doc View source

    SocketReadTimeout

    Gets or sets the timeout setting for the socket read operations.

    Declaration
    public TimeSpan? SocketReadTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan?
    | Improve this doc View source

    SocketWriteTimeout

    Gets or sets the timeout setting for the socket write operations.

    Declaration
    public TimeSpan? SocketWriteTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan?
    | Improve this doc View source

    Ssl

    Gets or sets the SSL options setting.

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

    TopologyRecoveryEnabled

    Gets or sets a value indicating whether the automatic connection recovery must recover recover also topology (exchanges, queues, bindings, etc). Defaults to true.

    Declaration
    public bool? TopologyRecoveryEnabled { get; set; }
    Property Value
    Type Description
    bool?
    | Improve this doc View source

    UseBackgroundThreadsForIO

    Gets or sets a value indicating whether a background thread will be used for the I/O loop.

    Declaration
    public bool? UseBackgroundThreadsForIO { get; set; }
    Property Value
    Type Description
    bool?
    | Improve this doc View source

    UserName

    Gets or sets the username to use when authenticating to the server.

    Declaration
    public string? UserName { get; set; }
    Property Value
    Type Description
    string
    | Improve this doc View source

    VirtualHost

    Gets or sets the virtual host to access during this connection.

    Declaration
    public string? VirtualHost { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Improve this doc View source

    Equals(RabbitConnectionConfig?)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(RabbitConnectionConfig? other)
    Parameters
    Type Name Description
    RabbitConnectionConfig other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    | Improve this doc View source

    Equals(object?)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)
    | Improve this doc View source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()
    | Improve this doc View source

    Validate()

    Throws an EndpointConfigurationException if the current configuration is not valid.

    Declaration
    public void Validate()

    Implements

    IEquatable<T>
    IValidatableEndpointSettings
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini