EnvelopeFlow.Routing
0.1.0-alpha.3.1
dotnet add package EnvelopeFlow.Routing --version 0.1.0-alpha.3.1
NuGet\Install-Package EnvelopeFlow.Routing -Version 0.1.0-alpha.3.1
<PackageReference Include="EnvelopeFlow.Routing" Version="0.1.0-alpha.3.1" />
<PackageVersion Include="EnvelopeFlow.Routing" Version="0.1.0-alpha.3.1" />
<PackageReference Include="EnvelopeFlow.Routing" />
paket add EnvelopeFlow.Routing --version 0.1.0-alpha.3.1
#r "nuget: EnvelopeFlow.Routing, 0.1.0-alpha.3.1"
#:package EnvelopeFlow.Routing@0.1.0-alpha.3.1
#addin nuget:?package=EnvelopeFlow.Routing&version=0.1.0-alpha.3.1&prerelease
#tool nuget:?package=EnvelopeFlow.Routing&version=0.1.0-alpha.3.1&prerelease
Optional single-channel routing and explicit fallback
Process-local routed claims carry an optional owner-stamped SubmissionNotAfterUtc deadline for the immutable maximum route age. Claim ownership includes that exact bound, and selected shared admission checks it using fresh time after all participating locks. A failed begin that crossed the bound records terminal cancellation/audit only after confirming no reservation committed. PostgreSQL rechecks persisted route age inside its existing submission transaction.
ChannelRouter selects one eligible configured target after checking transport capabilities and configured application scope, live channel authorization, exact trusted owner/current binding and rendered payload validity. Foreign scoped transports are skipped before application lookup or validation, and rejected during submission revalidation. Applications independently replace ordered routing, destination lookup, rendering and authorization. Resolver waits are bounded by RoutingOptions (16 candidates and five seconds by default, configurable to at most 32 candidates and one minute); application callbacks must honor cancellation to release their own resources.
Explicit authorization denial makes that candidate ineligible. Unavailable authorization stops resolution with Unavailable, including checks around destination lookup and rendering; it cannot establish that the preferred route is ineligible or silently select a lower-priority channel. Undefined authorization results produce InvalidConfiguration. Live submission revalidation continues to fail closed for every result other than Allowed.
RoutedDeliveryService admits the single selected target under a stable intent key. RoutingSubmissionEvaluator is a non-reserving preflight for the opt-in submission-decision pipeline. It rechecks the persisted destination, transport/payload support and age/attempt/cost budget before every send, including after policy waits. Combine it with application policy preflight and the one final frequency reservation. Exhausted budget suppression records an atomic BoundsExhausted causal audit through the routed cancellation path without another final reservation; the store independently enforces the bounds at fenced begin-submission. It never silently refreshes a changed destination or turns browser permission into channel consent.
FallbackLimits explicitly enables fallback, and the application separately invokes FallbackWorker with an IFallbackEligibility rule. A definite terminal Rejected source can advance only to an authorized forward alternative still present with the same route meaning. Default bounds are one hop, 100 total provider attempts, 1,000,000 application-defined cost units and one day. No Accepted, Unknown, cancelled, deferred or operator-replayed source triggers fallback. Transport packages and the existing dispatcher never run fallback implicitly.
InMemoryRoutedDeliveryStore is a process-local development reference with one gate around every delivery, deferral and routing operation and no exposed mutable inner store. It supplies a fenced causal audit outbox. Use a compatible durable store for recovery across processes. See complete semantics and the recording-transport sample.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- EnvelopeFlow.Delivery (>= 0.1.0-alpha.3.1)
- EnvelopeFlow.Routing.Abstractions (>= 0.1.0-alpha.3.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EnvelopeFlow.Routing:
| Package | Downloads |
|---|---|
|
EnvelopeFlow.Routing.Stores.Postgres
Explicit PostgreSQL routing intents and atomic audited fallback persistence. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.3.1 | 50 | 11/22/2026 |
| 0.1.0-alpha.2.1 | 74 | 11/9/2026 |