Class RabbitSupplierConfiguration
java.lang.Object
org.springframework.cloud.fn.supplier.rabbit.RabbitSupplierConfiguration
- All Implemented Interfaces:
DisposableBean
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties(RabbitSupplierProperties.class)
public class RabbitSupplierConfiguration
extends Object
implements DisposableBean
A source module that receives data from RabbitMQ.
- Author:
- Gary Russell, Chris Schaefer, Roger Perez, Chris Bono, Artem Bilan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer
container
(org.springframework.retry.interceptor.RetryOperationsInterceptor rabbitSourceRetryInterceptor) void
destroy()
org.reactivestreams.Publisher<Message<byte[]>>
rabbitPublisher
(org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer container, org.springframework.cloud.fn.common.config.ComponentCustomizer<org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSMLCSpec> amqpMessageProducerCustomizer) org.springframework.retry.interceptor.RetryOperationsInterceptor
rabbitSupplier
(org.reactivestreams.Publisher<Message<byte[]>> rabbitPublisher)
-
Constructor Details
-
RabbitSupplierConfiguration
public RabbitSupplierConfiguration()
-
-
Method Details
-
container
@Bean public org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer container(org.springframework.retry.interceptor.RetryOperationsInterceptor rabbitSourceRetryInterceptor) -
rabbitPublisher
@Bean public org.reactivestreams.Publisher<Message<byte[]>> rabbitPublisher(org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer container, @Nullable org.springframework.cloud.fn.common.config.ComponentCustomizer<org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSMLCSpec> amqpMessageProducerCustomizer) -
rabbitSupplier
-
rabbitSourceRetryInterceptor
@Bean public org.springframework.retry.interceptor.RetryOperationsInterceptor rabbitSourceRetryInterceptor() -
destroy
public void destroy()- Specified by:
destroy
in interfaceDisposableBean
-