Class EsbOutboxTable

java.lang.Object
com.kingsrook.qqq.esb.outbox.EsbOutboxTable

public final class EsbOutboxTable extends Object
The ESB outbox table: one row per event per destination, written in the same backend transaction as the record write that made it, and published by EsbOutboxRelay. Columns are snake_case; there are no foreign keys. The application adds the table to its instance (defineTable) and creates it in its migrations (the PostgreSQL DDL is in docs/esb/index.adoc). A row is PENDING until it is sent (SENT, kept retentionDays, then purged), or until it fails maxAttempts times while the broker is connected (DEAD, kept until someone deletes it, or sets it back to PENDING to retry it).