Expand description
NestJS @nestjs/outbox analogue —
transactional outbox, relay, retries, and dead-letter queue.
§Flow
OutboxRelay::addinside the same logical transaction as business writes.- Background loop calls
OutboxRelay::tickwith aPublishFn. - Success → published; failure → retry; after
max_attempts→ DLQ.
§Module
ⓘ
use nestrs_outbox::{OutboxModule, OutboxOptions};
let dm = OutboxModule::register(OutboxOptions::default());Set allow_in_memory: false once a durable store adapter is configured.
Pair with nestrs-webhooks for signed outbound delivery.
Umbrella feature: nestrs / outbox → nestrs::outbox.
Structs§
- Dead
Letter - Dynamic
Module - Runtime-composed module unit for conditional imports (feature flags, env switches, plugins).
- InMemory
Outbox Store - Outbox
Message - Outbox
Module - Outbox
Options - Outbox
Relay - Relay pending outbox messages through a user-provided publisher.
- Provider
Registry
Enums§
Traits§
- Injectable
- Application service or provider type constructed through the DI container.
- Outbox
Store