Flowly.DeadLetters
1.0.1
dotnet add package Flowly.DeadLetters --version 1.0.1
NuGet\Install-Package Flowly.DeadLetters -Version 1.0.1
<PackageReference Include="Flowly.DeadLetters" Version="1.0.1" />
<PackageVersion Include="Flowly.DeadLetters" Version="1.0.1" />
<PackageReference Include="Flowly.DeadLetters" />
paket add Flowly.DeadLetters --version 1.0.1
#r "nuget: Flowly.DeadLetters, 1.0.1"
#:package Flowly.DeadLetters@1.0.1
#addin nuget:?package=Flowly.DeadLetters&version=1.0.1
#tool nuget:?package=Flowly.DeadLetters&version=1.0.1
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(
builder.Configuration.GetConnectionString("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 |
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
| Product | Versions 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. |
-
net10.0
- Flowly (>= 1.0.1)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.7)
NuGet packages (2)
Showing the top 2 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. |
GitHub repositories
This package is not used by any popular GitHub repositories.