Class AzureServiceBusEndpointOptions
Endpoint options for Azure Service Bus. Bound from URI query parameters.
public sealed class AzureServiceBusEndpointOptions : EndpointOptions
Inheritance
Inherited Members
Properties
AckMode
When a message is settled (). Manual (default): received with PeekLock and
public AckMode AckMode { get; set; }
AutoDeadLetter
Automatically dead-letter messages on processing error (default false).
public bool AutoDeadLetter { get; set; }
BatchCommit
Producer: the sends it defers in a .Transacted() block leave as one Service Bus batch when the block
public bool BatchCommit { get; set; }
Batching
Batch mode (Apache Camel batching, the batch contract of every broker of redb.Route): the route gets one
public bool Batching { get; set; }
BatchingIntervalMs
Batch mode: a batch is sent on once this many milliseconds have passed since its first message.
public int? BatchingIntervalMs { get; set; }
BatchMaxSizeBytes
Maximum size in bytes of the one Service Bus batch a list body or a block is sent as
public long BatchMaxSizeBytes { get; set; }
ConnectionFactory
Named connection factory from route context registry.
[RegistryReference(typeof(AzureServiceBusConnectionFactory))]
public string? ConnectionFactory { get; set; }
DeadLetterReason
Dead-letter reason string when AutoDeadLetter is enabled.
public string? DeadLetterReason { get; set; }
EnableSessions
Enable session-aware consumer (default false).
public bool EnableSessions { get; set; }
HeaderFilterStrategy
A registry reference (#name) to an that
[RegistryReference(typeof(IHeaderFilterStrategy))]
public string? HeaderFilterStrategy { get; set; }
MaxAutoLockRenewalDuration
Maximum auto lock renewal duration in seconds (default 300 = 5 min).
public int MaxAutoLockRenewalDuration { get; set; }
MaxBatchMessages
Largest number of messages in a batch (default 100).
public int? MaxBatchMessages { get; set; }
MaxConcurrentCalls
Maximum concurrent handler invocations: a number or "auto" (= max(CPU, 2)). Default 1.
public string? MaxConcurrentCalls { get; set; }
MaxConcurrentSessions
Maximum concurrent session handlers (default 1).
public int MaxConcurrentSessions { get; set; }
MessageId
Dynamic message ID expression (supports ${...}).
public DynamicValue<string>? MessageId { get; set; }
PollTimeoutMs
Batch mode: a batch with messages is sent on once no message came for this many milliseconds, restarted by every
public int PollTimeoutMs { get; set; }
PrefetchCount
Number of messages to pre-fetch into local buffer (default 0).
public int PrefetchCount { get; set; }
ProducerSessionId
Dynamic session ID for producer (supports ${...}).
public DynamicValue<string>? ProducerSessionId { get; set; }
ResolvedMaxConcurrentCalls
Resolved handler parallelism (see ).
public int ResolvedMaxConcurrentCalls { get; }
RetryMaxDelayMs
Maximum retry delay in milliseconds (default 60000).
public int RetryMaxDelayMs { get; set; }
ScheduleDelaySeconds
Delayed delivery in seconds (default 0 = immediate).
public int ScheduleDelaySeconds { get; set; }
SessionIdleTimeout
Session idle timeout in seconds. 0 = SDK default.
public int SessionIdleTimeout { get; set; }
SubQueue
Sub-queue to consume from: "deadletter" or "transferdeadletter".
public string? SubQueue { get; set; }
SubscriptionName
Topic subscription name. When set, the entity is treated as a topic.
public string? SubscriptionName { get; set; }
Transacted
Producer: whether the send joins the enclosing .Transacted() block. Unset, it follows the block: deferred
public bool? Transacted { get; set; }
Methods
UnknownParameterHint(string)
A connector's own words for a parameter name it does not know — typically a name it used to
protected override string? UnknownParameterHint(string name)
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()