Class RabbitEventExternalizerConfiguration
java.lang.Object
org.springframework.modulith.events.amqp.RabbitEventExternalizerConfiguration
@AutoConfiguration
@AutoConfigureAfter(EventExternalizationAutoConfiguration.class)
@ConditionalOnClass(org.springframework.amqp.rabbit.core.RabbitTemplate.class)
@ConditionalOnProperty(name="spring.modulith.events.externalization.enabled",
havingValue="true",
matchIfMissing=true)
class RabbitEventExternalizerConfiguration
extends Object
Auto-configuration to set up a
DelegatingEventExternalizer
to externalize events to RabbitMQ.- Since:
- 1.1
- Author:
- Oliver Drotbohm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) DelegatingEventExternalizer
rabbitEventExternalizer
(EventExternalizationConfiguration configuration, org.springframework.amqp.rabbit.core.RabbitMessageOperations operations, BeanFactory factory)
-
Constructor Details
-
RabbitEventExternalizerConfiguration
RabbitEventExternalizerConfiguration()
-
-
Method Details
-
rabbitEventExternalizer
@Bean DelegatingEventExternalizer rabbitEventExternalizer(EventExternalizationConfiguration configuration, org.springframework.amqp.rabbit.core.RabbitMessageOperations operations, BeanFactory factory)
-