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,SimpleMessageListenerContainer>
org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSMLCSpec
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<AmqpInboundChannelAdapter>,InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
public class AmqpInboundChannelAdapterSMLCSpec extends AmqpInboundChannelAdapterSpec<AmqpInboundChannelAdapterSMLCSpec,SimpleMessageListenerContainer>
Spec for an inbound channel adapter with a
SimpleMessageListenerContainer.- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSpec
listenerContainerSpecFields inherited from class org.springframework.integration.amqp.dsl.AmqpBaseInboundChannelAdapterSpec
headerMapperFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target -
Constructor Summary
Constructors Modifier Constructor Description protectedAmqpInboundChannelAdapterSMLCSpec(SimpleMessageListenerContainer listenerContainer) -
Method Summary
Modifier and Type Method Description AmqpInboundChannelAdapterSMLCSpecbatchMode(AmqpInboundChannelAdapter.BatchMode batchMode)Set theAmqpInboundChannelAdapter.BatchModeto use when the container is configured to support batching consumed records.AmqpInboundChannelAdapterSMLCSpecconfigureContainer(Consumer<SimpleMessageListenerContainerSpec> configurer)Methods inherited from class org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSpec
getComponentsToRegisterMethods inherited from class org.springframework.integration.amqp.dsl.AmqpBaseInboundChannelAdapterSpec
headerMapper, mappedRequestHeaders, messageConverter, messageRecoverer, recoveryCallback, retryTemplateMethods inherited from class org.springframework.integration.dsl.MessageProducerSpec
autoStartup, errorChannel, errorChannel, errorMessageStrategy, id, outputChannel, outputChannel, phase, sendTimeout, shouldTrackMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
Method Details
-
configureContainer
public AmqpInboundChannelAdapterSMLCSpec configureContainer(Consumer<SimpleMessageListenerContainerSpec> configurer) -
batchMode
Set theAmqpInboundChannelAdapter.BatchModeto use when the container is configured to support batching consumed records.- Parameters:
batchMode- the batch mode.- Returns:
- the spec.
- Since:
- 5.3
-