Class SpringMessagingEventExternalizerConfiguration
java.lang.Object
org.springframework.modulith.events.messaging.SpringMessagingEventExternalizerConfiguration
@AutoConfiguration
@AutoConfigureAfter(EventExternalizationAutoConfiguration.class)
@ConditionalOnClass(org.springframework.messaging.MessageChannel.class)
@ConditionalOnProperty(name="spring.modulith.events.externalization.enabled",
havingValue="true",
matchIfMissing=true)
class SpringMessagingEventExternalizerConfiguration
extends Object
Auto-configuration to set up a
DelegatingEventExternalizer
to externalize events to a Spring Messaging
MessageChannel
.- Author:
- Josh Long, Oliver Drotbohm
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) DelegatingEventExternalizer
springMessagingEventExternalizer
(EventExternalizationConfiguration configuration, BeanFactory factory)
-
Field Details
-
MODULITH_ROUTING_HEADER
- See Also:
-
-
Constructor Details
-
SpringMessagingEventExternalizerConfiguration
SpringMessagingEventExternalizerConfiguration()
-
-
Method Details
-
springMessagingEventExternalizer
@Bean DelegatingEventExternalizer springMessagingEventExternalizer(EventExternalizationConfiguration configuration, BeanFactory factory)
-