Class EventExternalizationAutoConfiguration
java.lang.Object
org.springframework.modulith.events.config.EventExternalizationAutoConfiguration
@ConditionalOnProperty(name="spring.modulith.events.externalization.enabled",
havingValue="true",
matchIfMissing=true)
@AutoConfiguration
@AutoConfigureAfter(EventPublicationConfiguration.class)
public class EventExternalizationAutoConfiguration
extends Object
Auto-configuration to externalize application events.
- Since:
- 1.1
- Author:
- Oliver Drotbohm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static EventExternalizationConfiguration
(package private) static EventListenerFactory
-
Constructor Details
-
EventExternalizationAutoConfiguration
public EventExternalizationAutoConfiguration()
-
-
Method Details
-
filteringEventListenerFactory
@Bean @Role(2) static EventListenerFactory filteringEventListenerFactory(EventExternalizationConfiguration config) -
eventExternalizationConfiguration
@Bean @Role(2) @ConditionalOnMissingBean static EventExternalizationConfiguration eventExternalizationConfiguration(BeanFactory factory)
-