Skip to main content
nestrs-outbox implements the transactional outbox pattern: enqueue messages in the same logical unit of work as business writes, then relay them asynchronously with retries and a dead-letter queue.

Install

Register

Enqueue and relay

Options

Status flow

Pending → claimed → Published on success → Retry on failure → DeadLetter after max_attempts. List poison messages via your store’s dead-letter API and alert on growth.

With webhooks

nestrs-webhooks can take an Arc<OutboxRelay> so outbound signed deliveries are durable. See Webhooks.

See also