jEAP Spring Modulith Error Handling Starter
This repository provides the Spring Boot starter that connects failed Spring Modulith event publications to the jEAP Error Handling Service. It applies an application-owned retry policy, reports exhausted publications and consumes commands that retry or discard an individual publication.
The starter is part of the jEAP platform.
The first release targets Spring Modulith JDBC v2 with PostgreSQL. It handles persistent AFTER_COMMIT publications
for asynchronous @ApplicationModuleListener methods and synchronous @TransactionalEventListener methods that run
in a REQUIRES_NEW transaction.
Modules
| Module | Purpose |
|---|---|
jeap-spring-modulith-error-handling-starter | Auto-configuration and the application-side error-handling integration. |
jeap-spring-modulith-error-handling-starter-it | Integration tests running a real Spring Modulith application with PostgreSQL, the transactional outbox, and Kafka. |
Status
Retry, generation-based escalation through the transactional outbox, ShedLock-coordinated reconciliation and generation-exact retry and discard command handling are implemented. Commands are bound to the failure event that created them, making stale and duplicate delivery a no-op. Correctness is based on persistent PostgreSQL state; proactive failure observation only reduces escalation latency.
Documentation
| Topic | File |
|---|---|
| Getting started | docs/getting-started.md |
| Architecture | docs/architecture.md |