Flowly.DeadLetters 1.5.0

dotnet add package Flowly.DeadLetters --version 1.5.0
                    
NuGet\Install-Package Flowly.DeadLetters -Version 1.5.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="Flowly.DeadLetters" Version="1.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Flowly.DeadLetters" Version="1.5.0" />
                    
Directory.Packages.props
<PackageReference Include="Flowly.DeadLetters" />
                    
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 Flowly.DeadLetters --version 1.5.0
                    
#r "nuget: Flowly.DeadLetters, 1.5.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 Flowly.DeadLetters@1.5.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=Flowly.DeadLetters&version=1.5.0
                    
Install as a Cake Addin
#tool nuget:?package=Flowly.DeadLetters&version=1.5.0
                    
Install as a Cake Tool

Flowly.DeadLetters

Dead letter tracking for Flowly. Captures dead-lettered messages into a database so you can inspect, requeue, or discard them. Requires a database backend package.

Quick Start

Also install a database backend: Flowly.DeadLetters.SqlServer or Flowly.DeadLetters.Postgres.

builder.AddFlowly(configure => configure
    .UseAzureServiceBus("AzureServiceBus")
    .AddSqlServerDeadLetterTracking("DeadLetters")
    .AddMessageHandler<OrderCreated, OrderCreatedHandler>()
    .WithDeadLetterTracking());    // opt-in per handler

WithDeadLetterTracking() registers a background service that reads from the broker's dead letter sub-queue and persists records to the DeadLetters database table.

What Gets Stored

Field Description
QueueName The queue the message came from
MessageBody Raw message body (never deserialized)
MessageProperties All metadata headers as JSON
DeadLetteredAt When the message was dead-lettered
DeadLetterReason Broker-provided reason
Status Pending, Requeued, or Discarded
ReplacementMessageBody The corrected body a message was requeued with, or null when the stored body was requeued as it was

Fix and requeue

IDeadLetterService.Requeue(messageId, requeuedBy, replacementMessageBody) republishes a corrected body instead of the stored one, with the stored properties. Every requeue publishes with a new message id, so a message that is dead-lettered again becomes a separate record. The stored MessageBody is never changed; the replacement is recorded in ReplacementMessageBody, and removed again if the publish fails. Only one of several concurrent requeues of the same dead letter publishes; the others fail with DeadLetterStatusConflictException, as does a discard that races a requeue. A replacement must not be empty, must not exceed 256 KiB as UTF-8 and must be valid JSON when the stored body is JSON (InvalidReplacementMessageBodyException otherwise). The Dashboard requeue dialog, the Management API (messageBody) and Submit-FlowlyDeadLetter -MessageBody expose the same option.

Event Handlers

Dead letter tracking is also supported on EventHandlerBase<TEvent> handlers. The SubscriptionName field identifies which subscriber dead-lettered the event. Requeuing re-publishes to the topic so only the originating subscriber receives the message.

Documentation

https://rasmustherkelsen.github.io/flowly/

Product Compatible and additional computed target framework versions.
.NET 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 (5)

Showing the top 5 NuGet packages that depend on Flowly.DeadLetters:

Package Downloads
Flowly.DeadLetters.SqlServer

SQL Server backend for Flowly dead letter tracking.

Flowly.DeadLetters.Postgres

PostgreSQL backend for Flowly dead letter tracking.

Flowly.DeadLetters.SQLite

SQLite backend for Flowly dead letter tracking.

Flowly.Dashboard

Embedded web dashboard middleware for Flowly. Mounts a management UI at a configurable path prefix, providing live views of jobs, dead letters, recurring jobs, and dynamic message submission. Feature-detects Flowly.Jobs and Flowly.DeadLetters from the DI container automatically.

Flowly.ManagementApi

Opt-in operational HTTP surface for Flowly — a minimal, machine-oriented management API (no UI), independent of Flowly.Dashboard. Ships message stream checkpoint list/reset, message stream partition list/resume (halted partitions) and dead letter list/requeue/discard; new features register additional IFlowlyManagementAction implementations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.0 215 11/20/2026
1.4.4 219 8/27/2026
1.4.3 175 8/13/2026
1.4.2 169 8/13/2026
1.4.1 173 8/11/2026
1.4.0 178 8/11/2026
1.3.2 188 7/3/2026
1.3.1 193 6/26/2026
1.3.0 224 6/24/2026
1.2.0 208 5/27/2026
1.1.1 177 5/22/2026
1.1.0 173 5/18/2026
1.0.1 155 5/6/2026
1.0.0 151 5/6/2026