DotNetWorkQueue.Transport.PostgreSQL 0.9.38 (original) (raw)
PostgreSQL transport for DotNetWorkQueue.
Features
- PostgreSQL message storage using Npgsql
- Supports delayed processing, message expiration, and priority queues
- Heartbeat monitoring for long-running messages
- Automatic table creation and schema management
- Job scheduling with deduplication
- Targets .NET 10.0, .NET 8.0, .NET Framework 4.8, .NET Standard 2.0
Installation
dotnet add package DotNetWorkQueue.Transport.PostgreSQL
Quick Start
// Producer
using var queueContainer = new QueueContainer<PostgreSqlMessageQueueInit>();
using var producer = queueContainer.CreateProducer<MyMessage>(
new QueueConnection("queueName", "Host=localhost;Database=MyDb;Username=user;Password=pass;"));
producer.Send(new MyMessage { Text = "Hello" });
// Consumer
using var consumer = queueContainer.CreateConsumer(
new QueueConnection("queueName", "Host=localhost;Database=MyDb;Username=user;Password=pass;"));
consumer.Start<MyMessage>(HandleMessage);
Documentation
License
LGPL-2.1-or-later
| 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. |
net10.0
- DotNetWorkQueue (>= 0.9.38)
- DotNetWorkQueue.Transport.RelationalDatabase (>= 0.9.38)
- Npgsql (>= 10.0.3)
- Polly.Core (>= 8.6.6)
net8.0
- DotNetWorkQueue (>= 0.9.38)
- DotNetWorkQueue.Transport.RelationalDatabase (>= 0.9.38)
- Npgsql (>= 10.0.3)
- Polly.Core (>= 8.6.6)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DotNetWorkQueue.Transport.PostgreSQL:
| Package | Downloads |
|---|---|
| DotNetWorkQueue.Dashboard.Api Dashboard API for DotNetWorkQueue - provides REST endpoints for monitoring and managing queues | 3.1K |
GitHub repositories
This package is not used by any popular GitHub repositories.