Package com.aim2be.platform.outbox
Enum Class OutboxProperties.Backend
- All Implemented Interfaces:
Serializable,Comparable<OutboxProperties.Backend>,Constable
- Enclosing class:
- OutboxProperties
Storage-backend selector for the
OutboxBackend SPI (Wave A.2
Phase 0a / design doc refinement #11).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPostgres-backed outbox (PgOutboxBackend) — the default and the only backend that exists in Phase 0a.Redis-backed outbox — RESERVED for Wave A.2 Phase 0b. -
Method Summary
Modifier and TypeMethodDescriptionstatic OutboxProperties.BackendReturns the enum constant of this class with the specified name.static OutboxProperties.Backend[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PG
Postgres-backed outbox (PgOutboxBackend) — the default and the only backend that exists in Phase 0a. Persists rows in a JPA-managed transaction that shares the caller's business transaction (ADR-0014 D-7);OutboxBackend.requiresActiveTransaction()istrue. -
REDIS
Redis-backed outbox — RESERVED for Wave A.2 Phase 0b. Not implemented in Phase 0a; selecting it today has no effect (the Redis backend lives in a future separate Maven module so PG consumers never pull in spring-data-redis). The auto-configuration will branch on this value once the Phase 0b module ships.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-