Class ServiceBusRuntimeOptions
- Namespace
- FlowOrchestrator.ServiceBus
- Assembly
- FlowOrchestrator.ServiceBus.dll
Configuration for the Azure Service Bus runtime adapter.
public sealed class ServiceBusRuntimeOptions
- Inheritance
-
ServiceBusRuntimeOptions
- Inherited Members
Properties
AutoCreateTopology
When true (default), the adapter creates the topic, queue, and per-flow
subscriptions at startup using ServiceBusAdministrationClient. Set to false
in production where the topology is provisioned by IaC and the connection string lacks Manage rights.
public bool AutoCreateTopology { get; set; }
Property Value
ConnectionString
Connection string for the Service Bus namespace. Required.
public string ConnectionString { get; set; }
Property Value
CronQueueName
Name of the queue used for self-perpetuating cron trigger messages. Default "flow-cron-triggers".
public string CronQueueName { get; set; }
Property Value
DuplicateDetectionWindow
Duplicate-detection history window applied to the topic and cron queue when AutoCreateTopology is enabled. Default 10 minutes — long enough to dedup crash-replay of step messages but short enough not to block legitimate retries.
public TimeSpan DuplicateDetectionWindow { get; set; }
Property Value
MaxConcurrentCallsPerSubscription
Maximum number of messages a single per-flow subscription processor handles concurrently. Default 8.
public int MaxConcurrentCallsPerSubscription { get; set; }
Property Value
MaxDeliveryCount
Maximum delivery attempts before a message is dead-lettered. Default 10.
public int MaxDeliveryCount { get; set; }
Property Value
StepTopicName
Name of the topic that step dispatch messages are sent to. Default "flow-steps".
All registered flows share this topic; each flow gets its own subscription with a SQL filter on FlowId.
public string StepTopicName { get; set; }
Property Value
SubscriptionPrefix
Prefix for per-flow subscription names. Default "flow-"; subscription becomes flow-{flowId}.
public string SubscriptionPrefix { get; set; }