Table of Contents

Class FlowOrchestratorBuilderServiceBusExtensions

Namespace
FlowOrchestrator.ServiceBus
Assembly
FlowOrchestrator.ServiceBus.dll

DI registration helpers for the Azure Service Bus runtime adapter.

public static class FlowOrchestratorBuilderServiceBusExtensions
Inheritance
FlowOrchestratorBuilderServiceBusExtensions
Inherited Members

Methods

UseAzureServiceBusRuntime(FlowOrchestratorBuilder, Action<ServiceBusRuntimeOptions>)

Registers the Azure Service Bus step-execution runtime: a topic-based IStepDispatcher, per-flow subscription processors, and a self-perpetuating cron message scheduler.

public static FlowOrchestratorBuilder UseAzureServiceBusRuntime(this FlowOrchestratorBuilder builder, Action<ServiceBusRuntimeOptions> configure)

Parameters

builder FlowOrchestratorBuilder

The FlowOrchestrator builder to register into.

configure Action<ServiceBusRuntimeOptions>

Configuration callback that fills in connection string + naming.

Returns

FlowOrchestratorBuilder

The same builder for chaining.

Remarks

Call this inside AddFlowOrchestrator(opts => opts.UseAzureServiceBusRuntime(...)) instead of UseHangfire() or UseInMemoryRuntime(). The Service Bus runtime is registered with TryAdd semantics, so it can co-exist with — and override — the default Hangfire dispatcher registered by AddFlowOrchestrator.