Class NamastackOutboxEventRecorder

java.lang.Object
org.springframework.modulith.events.namastack.NamastackOutboxEventRecorder
All Implemented Interfaces:
EventListener, ApplicationListener<PayloadApplicationEvent<?>>

class NamastackOutboxEventRecorder extends Object implements ApplicationListener<PayloadApplicationEvent<?>>
An ApplicationListener that listens to all PayloadApplicationEvents and schedules externalized events to an Outbox for later processing. This listener operates synchronously within the same transaction as the event publisher, ensuring the outbox record is committed or rolled back together with the business operation.
Since:
2.1
Author:
Roland Beisel
See Also: