Class SnsEventExternalizerConfiguration
java.lang.Object
org.springframework.modulith.events.aws.sns.SnsEventExternalizerConfiguration
@AutoConfiguration
@AutoConfigureAfter(EventExternalizationAutoConfiguration.class)
@ConditionalOnClass(io.awspring.cloud.sns.core.SnsTemplate.class)
@ConditionalOnProperty(name="spring.modulith.events.externalization.enabled",
havingValue="true",
matchIfMissing=true)
class SnsEventExternalizerConfiguration
extends Object
Auto-configuration to set up a
DelegatingEventExternalizer
to externalize events to SNS.- Since:
- 1.1
- Author:
- Maciej Walkowiak, Oliver Drotbohm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) DelegatingEventExternalizer
snsEventExternalizer
(EventExternalizationConfiguration configuration, io.awspring.cloud.sns.core.SnsOperations operations, BeanFactory factory)
-
Constructor Details
-
SnsEventExternalizerConfiguration
SnsEventExternalizerConfiguration()
-
-
Method Details
-
snsEventExternalizer
@Bean DelegatingEventExternalizer snsEventExternalizer(EventExternalizationConfiguration configuration, io.awspring.cloud.sns.core.SnsOperations operations, BeanFactory factory)
-