Fluens.Messaging.PostgreSql
0.7.9
dotnet add package Fluens.Messaging.PostgreSql --version 0.7.9
NuGet\Install-Package Fluens.Messaging.PostgreSql -Version 0.7.9
<PackageReference Include="Fluens.Messaging.PostgreSql" Version="0.7.9" />
<PackageVersion Include="Fluens.Messaging.PostgreSql" Version="0.7.9" />
<PackageReference Include="Fluens.Messaging.PostgreSql" />
paket add Fluens.Messaging.PostgreSql --version 0.7.9
#r "nuget: Fluens.Messaging.PostgreSql, 0.7.9"
#:package Fluens.Messaging.PostgreSql@0.7.9
#addin nuget:?package=Fluens.Messaging.PostgreSql&version=0.7.9
#tool nuget:?package=Fluens.Messaging.PostgreSql&version=0.7.9
Fluens.Messaging.PostgreSql
PostgreSQL provider for Fluens.Messaging — jsonb attempt_history, public schema, and PostgresException SQL-state transient-failure classification.
Installation
dotnet add package Fluens.Messaging.PostgreSql
Usage
Opt in from the AddMessaging callback — there is no separate top-level registration method:
fluensBuilder.AddMessaging(o => o.AddPostgres());
AddPostgres() registers PostgreSqlMessagingConventions as the singleton IMessagingProviderConventions
(TryAddSingleton — calling it twice, or alongside AddSqlServer(), keeps whichever ran first). Every
FluensDbContext and the LaneWorker retry classifier resolve this singleton at runtime; without a provider
package registered, building a FluensDbContext throws OptionsException<MessagingOptions>.
Conventions
| Convention | Value |
|---|---|
DefaultSchema |
public |
JsonColumnType (dead-letter attempt_history) |
jsonb |
OutboxPendingFilter |
sent_at IS NULL |
DeliveryPendingFilter |
delivered_at IS NULL AND expired_at IS NULL |
InboxPendingFilter |
processed_at IS NULL |
IngressPendingFilter |
processed_at IS NULL |
IsTransientFailure |
true for a PostgresException whose SqlState is serialization failure (40001), deadlock detected (40P01), or any connection-exception class code (08xxx) — anything else, including a non-PostgresException, is non-transient |
The transient classification feeds the stage-1 in-memory retry gate on LaneWorker: a transient failure walks
the full two-stage retry policy, a non-transient failure (e.g. a constraint violation) skips straight to
stage-2 scheduling.
License
This project is licensed under the MIT License.
| 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
- Fluens (>= 0.7.9)
- Fluens.Messaging (>= 0.7.9)
- Npgsql (>= 10.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.