FluxFlow.Components.RequestReply
2.0.0
See the version list below for details.
dotnet add package FluxFlow.Components.RequestReply --version 2.0.0
NuGet\Install-Package FluxFlow.Components.RequestReply -Version 2.0.0
<PackageReference Include="FluxFlow.Components.RequestReply" Version="2.0.0" />
<PackageVersion Include="FluxFlow.Components.RequestReply" Version="2.0.0" />
<PackageReference Include="FluxFlow.Components.RequestReply" />
paket add FluxFlow.Components.RequestReply --version 2.0.0
#r "nuget: FluxFlow.Components.RequestReply, 2.0.0"
#:package FluxFlow.Components.RequestReply@2.0.0
#addin nuget:?package=FluxFlow.Components.RequestReply&version=2.0.0
#tool nuget:?package=FluxFlow.Components.RequestReply&version=2.0.0
FluxFlow.Components.RequestReply
A transport-neutral compatibility bridge for adapting request/reply callers to one-way workflow graphs. The package is support infrastructure, not a component family and not a transport owner.
How It Works
host context -> Incoming -> Output -> workflow -> Responses -> context.ReplyAsync
- The host creates an
IRequestContext<TRequest, TResponse>containing the request and transport-specific acknowledge, reply, and failure callbacks. RequestReplyCoordinator<TRequest, TResponse>retains or creates the context'sCorrelationId, emits aFlowMessage<TRequest>, and holds the context until a matching response, timeout, failure, or shutdown.- The workflow should create its response with
message.With(response)so the existing envelope identity is preserved. - Fire-and-forget mode emits and acknowledges without registering pending state.
- Queue and in-flight counts are bounded by
RequestReplyOptions.Capacity.
CorrelatedRequestTracker<TContext, TResponse> preserves the package's
correlation-based public API. Internally it delegates atomic pending state,
deadlines, capacity, duplicate handling, and cleanup to
FluxFlow.Coordination instead of maintaining a separate sweep-based tracker.
SweepInterval remains accepted for configuration compatibility but does not
control the shared coordinator's deadline queue.
Identity
TraceId is FluxFlow's default internal workflow coordination identity and
remains stable across one processing lineage. MessageId identifies an
individual envelope and CausationId identifies its parent envelope.
This compatibility package still matches its established API by
CorrelationId. That value represents optional external or business protocol
correlation; it is not the default key required by FluxFlow.Coordination.
New workflow acknowledgement and signal coordination should normally use
PendingExchangeCoordinator<TraceId, ...> directly.
Lifecycle And Diagnostics
Outputis a bounded reliable buffer.ErrorsandEventsretain the compatibility bridge's existing diagnostic contracts.- A supplied
TimeProvidercontrols timeout scheduling and timestamps. - Duplicate, capacity, timeout, unmatched response, and invalid input outcomes remain local to the bridge and do not own host lifetime.
Complete(),Fault(...), andDisposeAsync()settle accepted callers exactly once and close the bridge's Dataflow blocks.
Composition
This package does not expose FluxFlow.Composition factories. HTTP adapters may use it for
their established correlation contract. MQTT workflow ACK/NAK coordination is
a separate TraceId-based concern and broker acknowledgements remain MQTT-owned.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- FluxFlow.Coordination (>= 2.0.0)
- FluxFlow.Nodes (>= 4.0.0)
-
net8.0
- FluxFlow.Coordination (>= 2.0.0)
- FluxFlow.Nodes (>= 4.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FluxFlow.Components.RequestReply:
| Package | Downloads |
|---|---|
|
FluxFlow.Components.Http.AspNetCore
ASP.NET Core HTTP trigger adapter for FluxFlow: maps an endpoint's HttpContext onto the request/reply bridge so an inbound request flows into a graph and the correlated response is written back. The only FluxFlow package that references ASP.NET Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Migrates request/reply coordination to typed FlowMessage<T> outcomes while preserving correlation, timeout, capacity, and completion semantics.