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.AnEventExternalizationSupportdelegating to aBiFunctionfor the actual externalization.Fundamental support for event externalization.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.