Class NamastackOutboxEventRecorderAutoConfiguration

java.lang.Object
org.springframework.modulith.events.namastack.NamastackOutboxEventRecorderAutoConfiguration

@AutoConfiguration @AutoConfigureAfter(EventExternalizationAutoConfiguration.class) @ConditionalOnProperty(name="spring.modulith.events.externalization.mode",havingValue="outbox") @ConditionalOnProperty(name="spring.modulith.events.externalization.enabled",havingValue="true",matchIfMissing=true) @ConditionalOnBean(io.namastack.outbox.Outbox.class) class NamastackOutboxEventRecorderAutoConfiguration extends Object
Auto-configuration to set up an NamastackOutboxEventRecorder to externalize events via the outbox.

This configuration is activated when spring.modulith.events.externalization.mode is set to outbox. Events are persisted to an outbox table within the same transaction as the business operation.

Since:
2.1
Author:
Roland Beisel
See Also: