Class RabbitMqTransportOptions
Namespace: Cephalon.Behaviors.Messaging.Options
Assembly: Cephalon.Behaviors.Messaging.dll
Configuration options for the RabbitMQ messaging transport binding.
public sealed class RabbitMqTransportOptionsInheritance
Section titled “Inheritance”object ← RabbitMqTransportOptions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Section titled “Properties”DeadLetterExchange
Section titled “ DeadLetterExchange”Gets or sets the dead-letter exchange name for messages that exceed max retry attempts. When null, dead-lettering is disabled.
public string? DeadLetterExchange { get; set; }Property Value
Section titled “Property Value”ExchangeName
Section titled “ ExchangeName”Gets or sets the exchange name. When null, uses the default exchange.
public string? ExchangeName { get; set; }Property Value
Section titled “Property Value”HostName
Section titled “ HostName”Gets or sets the RabbitMQ broker hostname. Default: “localhost”.
public string HostName { get; set; }Property Value
Section titled “Property Value”MaxRetryAttempts
Section titled “ MaxRetryAttempts”Gets or sets the maximum number of delivery attempts before a message is nacked without requeue.
Default: 3.
public int MaxRetryAttempts { get; set; }Property Value
Section titled “Property Value”Password
Section titled “ Password”Gets or sets the RabbitMQ password. Default: “guest”.
public string Password { get; set; }Property Value
Section titled “Property Value”Gets or sets the RabbitMQ broker port. Default: 5672.
public int Port { get; set; }Property Value
Section titled “Property Value”QueueName
Section titled “ QueueName”Gets or sets the queue name. When null, defaults to the behavior id.
public string? QueueName { get; set; }Property Value
Section titled “Property Value”RetryDelayMs
Section titled “ RetryDelayMs”Gets or sets the delay in milliseconds between retry attempts. Default: 1000.
public int RetryDelayMs { get; set; }Property Value
Section titled “Property Value”UserName
Section titled “ UserName”Gets or sets the RabbitMQ user name. Default: “guest”.
public string UserName { get; set; }Property Value
Section titled “Property Value”VirtualHost
Section titled “ VirtualHost”Gets or sets the RabbitMQ virtual host. Default: ”/”.
public string VirtualHost { get; set; }