FluxFlow.Components.RequestReply 2.0.0

There is a newer prerelease version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FluxFlow.Components.RequestReply" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxFlow.Components.RequestReply" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="FluxFlow.Components.RequestReply" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FluxFlow.Components.RequestReply --version 2.0.0
                    
#r "nuget: FluxFlow.Components.RequestReply, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FluxFlow.Components.RequestReply@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FluxFlow.Components.RequestReply&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=FluxFlow.Components.RequestReply&version=2.0.0
                    
Install as a Cake Tool

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's CorrelationId, emits a FlowMessage<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

  • Output is a bounded reliable buffer. Errors and Events retain the compatibility bridge's existing diagnostic contracts.
  • A supplied TimeProvider controls 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(...), and DisposeAsync() 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
3.0.0-rc.1 78 9/5/2026
2.0.0 154 8/3/2026
1.1.6 211 7/3/2026
1.1.5 278 7/2/2026
1.1.0 189 6/20/2026
1.0.0 165 6/19/2026

Migrates request/reply coordination to typed FlowMessage<T> outcomes while preserving correlation, timeout, capacity, and completion semantics.