Class AmqpInboundChannelAdapterSMLCSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,P>
org.springframework.integration.dsl.MessageProducerSpec<S,AmqpInboundChannelAdapter>
org.springframework.integration.amqp.dsl.AmqpBaseInboundChannelAdapterSpec<S>
org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSpec<AmqpInboundChannelAdapterSMLCSpec,org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer>
org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSMLCSpec
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<AmqpInboundChannelAdapter>
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
,org.springframework.integration.dsl.ComponentsRegistration
public class AmqpInboundChannelAdapterSMLCSpec extends AmqpInboundChannelAdapterSpec<AmqpInboundChannelAdapterSMLCSpec,org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer>
Spec for an inbound channel adapter with a
SimpleMessageListenerContainer
.- Since:
- 5.0
-
Field Summary
Fields inherited from class org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSpec
listenerContainerSpec
Fields inherited from class org.springframework.integration.amqp.dsl.AmqpBaseInboundChannelAdapterSpec
headerMapper
-
Constructor Summary
Constructors Modifier Constructor Description protected
AmqpInboundChannelAdapterSMLCSpec(org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer listenerContainer)
-
Method Summary
Modifier and Type Method Description AmqpInboundChannelAdapterSMLCSpec
batchMode(AmqpInboundChannelAdapter.BatchMode batchMode)
Set theAmqpInboundChannelAdapter.BatchMode
to use when the container is configured to support batching consumed records.AmqpInboundChannelAdapterSMLCSpec
configureContainer(java.util.function.Consumer<SimpleMessageListenerContainerSpec> configurer)
Methods inherited from class org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSpec
getComponentsToRegister
Methods inherited from class org.springframework.integration.amqp.dsl.AmqpBaseInboundChannelAdapterSpec
headerMapper, mappedRequestHeaders, messageConverter, messageRecoverer, recoveryCallback, retryTemplate
Methods inherited from class org.springframework.integration.dsl.MessageProducerSpec
autoStartup, errorChannel, errorChannel, errorMessageStrategy, id, outputChannel, outputChannel, phase, sendTimeout, shouldTrack
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
-
Constructor Details
-
AmqpInboundChannelAdapterSMLCSpec
protected AmqpInboundChannelAdapterSMLCSpec(org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer listenerContainer)
-
-
Method Details
-
configureContainer
public AmqpInboundChannelAdapterSMLCSpec configureContainer(java.util.function.Consumer<SimpleMessageListenerContainerSpec> configurer) -
batchMode
Set theAmqpInboundChannelAdapter.BatchMode
to use when the container is configured to support batching consumed records.- Parameters:
batchMode
- the batch mode.- Returns:
- the spec.
- Since:
- 5.3
-