Class AmqpInboundChannelAdapterSMLCSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<AmqpInboundChannelAdapterSMLCSpec, AmqpInboundChannelAdapter>
org.springframework.integration.dsl.MessageProducerSpec<AmqpInboundChannelAdapterSMLCSpec, AmqpInboundChannelAdapter>
org.springframework.integration.amqp.dsl.AmqpBaseInboundChannelAdapterSpec<AmqpInboundChannelAdapterSMLCSpec>
org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSpec<AmqpInboundChannelAdapterSMLCSpec, SimpleMessageListenerContainer>
org.springframework.integration.amqp.dsl.AmqpInboundChannelAdapterSMLCSpec
- All Implemented Interfaces:
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 AmqpInboundChannelAdapterSpec
listenerContainerSpecFields inherited from class AmqpBaseInboundChannelAdapterSpec
headerMapperFields inherited from class IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAmqpInboundChannelAdapterSMLCSpec(SimpleMessageListenerContainer listenerContainer) -
Method Summary
Modifier and TypeMethodDescriptionbatchMode(AmqpInboundChannelAdapter.BatchMode batchMode) Set theAmqpInboundChannelAdapter.BatchModeto use when the container is configured to support batching consumed records.configureContainer(Consumer<SimpleMessageListenerContainerSpec> configurer) Methods inherited from class AmqpInboundChannelAdapterSpec
getComponentsToRegisterMethods inherited from class AmqpBaseInboundChannelAdapterSpec
headerMapper, mappedRequestHeaders, messageConverter, messageRecoverer, recoveryCallback, retryTemplateMethods inherited from class MessageProducerSpec
autoStartup, errorChannel, errorChannel, errorMessageStrategy, id, observationConvention, outputChannel, outputChannel, phase, role, sendTimeout, shouldTrackMethods inherited from class IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FactoryBean
isSingletonMethods inherited from interface SmartLifecycle
isPauseable
-
Constructor Details
-
AmqpInboundChannelAdapterSMLCSpec
-
-
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
-