Package org.springframework.modulith.events.support
@NullMarked
package org.springframework.modulith.events.support
Spring Framework extensions to integrate the event publication registry.
-
ClassDescriptionA
BrokerRoutingsupportsRoutingTargetinstances that contain values matching the format$target::$keyfor which both the target and key can be a SpEL expression.ABrokerRoutingthat evaluates aRoutingTarget's key as SpEL expression.Different modes of event completion.AnAdvisorto decorateTransactionalEventListenerannotated methods to mark the previously registered event publications as completed on successful method execution.MethodInterceptorto trigger the completion of an event publication after a transaction event listener method has been completed successfully.Deprecated, for removal: This API element is subject to removal in a future version.since 2.1.Deprecated, for removal: This API element is subject to removal in a future version.SPI to capture the strategy to externalize the given event payload using a particular implementation technology, usually a message broker.AnApplicationModuleListenerthat's only applied if the event to be externalized is supposed to be externalized in the first place.Fundamental support for event externalization.AnOutboxEventExternalizerthat transports events from the outbox to an external target.A factory to createOutboxEventExternalizerforEventExternalizationTransports.AnApplicationEventMulticasterto registerEventPublications in anEventPublicationRegistryso that potentially failing transactional event listeners can get re-invoked upon application restart or via a schedule.First-class collection to work with transactional event listeners, i.e.AnEventExternalizationSupportdelegating to aEventExternalizationTransportfor the actual externalization.