Class DelegatingEventExternalizer

java.lang.Object
org.springframework.modulith.events.support.EventExternalizationSupport
org.springframework.modulith.events.support.DelegatingEventExternalizer
All Implemented Interfaces:
ConditionalEventListener

@Component public class DelegatingEventExternalizer extends EventExternalizationSupport
An EventExternalizationSupport delegating to a BiConsumer for the actual externalization. Note, that this needs to be a Component to make sure it is considered an event listener, as without the annotation Spring Framework would skip it as it lives in the org.springframework package.
Since:
1.1
Author:
Oliver Drotbohm