Class AzureServiceBusConnectionFactory

Assembly: redb.Route.AzureServiceBus.dll

POCO factory for creating instances.
Register in the route context registry for shared client configuration:
context.AddToRegistry("myAsb", new AzureServiceBusConnectionFactory { ... });
Reference from URI: asb://queue?connectionFactory=myAsb

public sealed class AzureServiceBusConnectionFactory

Inheritance

Object→AzureServiceBusConnectionFactory

Properties

ConnectionString

Azure Service Bus connection string.

public string ConnectionString { get; set; }

DelayMs

Initial retry delay in milliseconds (default 800).

public int DelayMs { get; set; }

MaxDelayMs

Maximum retry delay in milliseconds (default 60000).

public int MaxDelayMs { get; set; }

MaxRetries

Maximum number of retries (default 3).

public int MaxRetries { get; set; }

ProxyAddress

Web proxy address. Forces AmqpWebSockets transport when set.

public string? ProxyAddress { get; set; }

RetryMode

Retry mode: Exponential or Fixed (default Exponential).

public ServiceBusRetryMode RetryMode { get; set; }

TransportType

Transport type: AmqpTcp or AmqpWebSockets (default AmqpTcp).

public ServiceBusTransportType TransportType { get; set; }

TryTimeoutMs

Per-try timeout in milliseconds (default 60000).

public int TryTimeoutMs { get; set; }

Methods

Build()

Builds a configured .

public ServiceBusClient Build()