Table of Contents

Class RabbitMqConnectionOptions

Namespace
Pipelinez.RabbitMQ.Configuration
Assembly
Pipelinez.RabbitMQ.dll

Configures how Pipelinez creates RabbitMQ connections.

public sealed class RabbitMqConnectionOptions
Inheritance
RabbitMqConnectionOptions
Inherited Members

Properties

AutomaticRecoveryEnabled

Gets or sets a value indicating whether automatic connection recovery is enabled.

public bool AutomaticRecoveryEnabled { get; set; }

Property Value

bool

ClientProvidedName

Gets or sets the client-provided connection name.

public string? ClientProvidedName { get; set; }

Property Value

string

ConfigureConnectionFactory

Gets or sets an optional callback that customizes the RabbitMQ connection factory after Pipelinez defaults are applied.

public Action<ConnectionFactory>? ConfigureConnectionFactory { get; set; }

Property Value

Action<ConnectionFactory>

HostName

Gets or sets the RabbitMQ host name for host-based configuration.

public string? HostName { get; set; }

Property Value

string

NetworkRecoveryInterval

Gets or sets the network recovery interval.

public TimeSpan? NetworkRecoveryInterval { get; set; }

Property Value

TimeSpan?

Password

Gets or sets the RabbitMQ password.

public string? Password { get; set; }

Property Value

string

Port

Gets or sets the RabbitMQ port.

public int? Port { get; set; }

Property Value

int?

RequestedHeartbeat

Gets or sets the requested heartbeat interval.

public TimeSpan? RequestedHeartbeat { get; set; }

Property Value

TimeSpan?

TopologyRecoveryEnabled

Gets or sets a value indicating whether RabbitMQ.Client topology recovery is enabled.

public bool TopologyRecoveryEnabled { get; set; }

Property Value

bool

Uri

Gets or sets the AMQP URI used to connect.

public Uri? Uri { get; set; }

Property Value

Uri

UserName

Gets or sets the RabbitMQ user name.

public string? UserName { get; set; }

Property Value

string

VirtualHost

Gets or sets the RabbitMQ virtual host.

public string? VirtualHost { get; set; }

Property Value

string

Methods

Validate()

Validates the connection options and returns the same instance when valid.

public RabbitMqConnectionOptions Validate()

Returns

RabbitMqConnectionOptions

The validated options instance.