# oncebox > Transactional Outbox and Inbox for Spring Boot: events stored in the same transaction as business data, published to Apache Kafka or RabbitMQ with per-type retries, backoff and a DLQ, and deduplicated on the receiving side through an inbox. This file contains links to documentation sections following the llmstxt.org standard. ## Table of Contents - [What is oncebox: Outbox and Inbox for Spring Boot](https://dmitriy-iliyov.github.io/oncebox-docs/docs/): oncebox is a Spring Boot library for the transactional outbox and inbox patterns: reliable event publishing to Kafka or RabbitMQ and deduplicated c... - [Quickstart: Spring Boot Outbox with Kafka, RabbitMQ](https://dmitriy-iliyov.github.io/oncebox-docs/docs/quickstart/): Add oncebox to a Spring Boot service: dependencies, tables, an event type, publishing in a transaction and consuming with deduplication through the... - [oncebox Reference Documentation](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/): Reference for oncebox: architecture, delivery guarantees, publishing, processing, DLQ, inbox, messaging, persistence, polling, metrics and configur... - [Delivery Guarantees: At-Least-Once, Effectively-Once](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/guarantees/): What oncebox guarantees and in which failure: at-least-once publishing, effectively-once and at-most-once consumption, duplicates, ordering and lim... - [oncebox Configuration Properties](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/configuration/): Every oncebox configuration property with its default: outbox sender, events, retries and backoff, stuck recovery, cleanup, DLQ, inbox, cache and m... - [How the Transactional Outbox Works in oncebox](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/core/): oncebox architecture: event lifecycle, polling per event type, batch capture with SKIP LOCKED, fencing with a lock token, the database clock and jobs. - [Dead Letter Queue for Outbox Events](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/dlq/): The oncebox dead letter queue: where events that exhausted their retries go, how they are moved back or resolved, OutboxDlqHandler and the REST API. - [Inbox Pattern: Idempotent Consumer for Spring](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/inbox/): Deduplicate redelivered events with the oncebox inbox: transactional and non-transactional idempotent consumers, deserialization, caching and cleanup. - [Kafka and RabbitMQ Integration](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/messaging/): How oncebox publishes to Apache Kafka and RabbitMQ: headers, routing, acknowledgements, recommended producer settings and consumer acknowledgement. - [Outbox and Inbox Metrics with Micrometer](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/observability/): oncebox metrics for Prometheus through Micrometer: outbox, DLQ and inbox gauges, counters and timers, what to alert on, and ready Grafana dashboards. - [Outbox Tables on PostgreSQL, MySQL and Oracle](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/persistence/): Databases supported by oncebox, dialect modules, the outbox, DLQ, inbox and jobs table schemas, the JdbcTemplate it uses and the MySQL isolation le... - [Polling Strategies, Thread Pool and Distributed Lock](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/polling/): Fixed and adaptive polling in oncebox, sizing the shared thread pool for event types and background jobs, and the distributed lock of the cleanup j... - [Outbox Retries, Backoff and Stuck Event Recovery](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/processing/): How oncebox processes outbox events: the state machine, sending a batch, per-type retries with exponential backoff, recovery of stuck events and cl... - [Publishing Events with OutboxPublisher](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/publishing/): Store events in the business transaction with OutboxPublisher or the @OutboxPublish annotation: transactions, SpEL payloads, serialization and even... - [oncebox Configuration Examples](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/recipes/): Ready oncebox configurations: several event types, RabbitMQ, a production outbox, an inbox-only service, both sides in one service, local development. - [Outbox Schema Migrations with Flyway and Liquibase](https://dmitriy-iliyov.github.io/oncebox-docs/docs/reference/schema/): Create and upgrade the oncebox tables with Flyway, Liquibase or a dev mode, next to the application's own migrations, and the rules for writing new... - [Example Project: Outbox and Inbox in Docker Compose](https://dmitriy-iliyov.github.io/oncebox-docs/docs/examples/): A runnable oncebox example: an order service publishing through the outbox, a consumer deduplicating through the inbox, Kafka or RabbitMQ, Grafana. - [oncebox Skill for AI Coding Agents](https://dmitriy-iliyov.github.io/oncebox-docs/docs/agent-skill/): An agent skill that teaches Claude Code and other coding agents to use oncebox correctly: the modules to add, which consumer to inject and the traps. - [Contributing to oncebox](https://dmitriy-iliyov.github.io/oncebox-docs/docs/contributing/): How to contribute to oncebox: building the project, running the test suites, ground rules for pull requests, schema migrations and the documentation. - [Production Checklist for the Outbox and Inbox](https://dmitriy-iliyov.github.io/oncebox-docs/docs/production/): What to check before running oncebox in production: migrations, MySQL isolation, DLQ, thread pool, Kafka and RabbitMQ settings, consumers and alerts. - [oncebox Support Policy](https://dmitriy-iliyov.github.io/oncebox-docs/docs/support-policy/): Which oncebox release lines receive fixes, security fixes included, and how to report a vulnerability privately through GitHub with the details we ... - [Troubleshooting Outbox and Inbox Errors](https://dmitriy-iliyov.github.io/oncebox-docs/docs/troubleshooting/): Startup errors, runtime failures and silent misbehaviour of oncebox with their causes and fixes, searchable by the exact text of the error message.