Class OutboxProperties

java.lang.Object
com.aim2be.platform.outbox.OutboxProperties

@ConfigurationProperties(prefix="im2be.outbox") @Validated public class OutboxProperties extends Object
Type-safe configuration for the outbox-publisher module.

Consumers tune behaviour via application.properties (or yml) under the im2be.outbox.* prefix. The enabled top-level flag is the master gate — when false (the default) NONE of the outbox beans are wired into the application context.

Property reference:

 im2be.outbox.enabled                                       = false
 im2be.outbox.backend                                       = PG
 im2be.outbox.poller.enabled                                = true
 im2be.outbox.poller.interval-ms                            = 5000
 im2be.outbox.poller.batch-size                             = 500
 im2be.outbox.poller.max-retries                            = 10
 im2be.outbox.poller.send-timeout-ms                        = 10000
 im2be.outbox.circuit-breaker.failure-rate-threshold        = 50
 im2be.outbox.circuit-breaker.wait-duration-in-open-state-ms = 5000
 im2be.outbox.scheduler-lock.default-at-most                = PT1M
 

Property bindings are validated via Spring's relaxed binding — env vars use IM2BE_OUTBOX_POLLER_INTERVAL_MS et al. See ADR-0014 D-1 + D-9 for the relay/poller semantics these knobs control.