Class AmqpBaseInboundChannelAdapterSpec<S extends AmqpBaseInboundChannelAdapterSpec<S>>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,P>
 
org.springframework.integration.dsl.MessageProducerSpec<S,AmqpInboundChannelAdapter>
 
org.springframework.integration.amqp.dsl.AmqpBaseInboundChannelAdapterSpec<S>
- Type Parameters:
- S- the target- AmqpBaseInboundChannelAdapterSpecimplementation type.
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<AmqpInboundChannelAdapter>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle
- Direct Known Subclasses:
- AmqpInboundChannelAdapterSpec
public class AmqpBaseInboundChannelAdapterSpec<S extends AmqpBaseInboundChannelAdapterSpec<S>>
extends MessageProducerSpec<S,AmqpInboundChannelAdapter> 
The base 
MessageProducerSpec implementation for a AmqpInboundChannelAdapter.- Since:
- 5.0
- Author:
- Artem Bilan
- 
Field SummaryFieldsFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotected
- 
Method SummaryModifier and TypeMethodDescriptionheaderMapper(AmqpHeaderMapper headerMapper) Configure the adapter'sAmqpHeaderMapper; defaults toDefaultAmqpHeaderMapper.mappedRequestHeaders(String... headers) Only applies if the default header mapper is used.messageConverter(MessageConverter messageConverter) Configure the adapter'sMessageConverter; defaults toSimpleMessageConverter.messageRecoverer(MessageRecoverer messageRecoverer) Set aMessageRecovererwhen using retry within the adapter.recoveryCallback(org.springframework.retry.RecoveryCallback<?> recoveryCallback) Set aRecoveryCallbackwhen using retry within the adapter.retryTemplate(org.springframework.retry.support.RetryTemplate retryTemplate) Set aRetryTemplateto use for retrying a message delivery within the adapter.Methods inherited from class org.springframework.integration.dsl.MessageProducerSpecautoStartup, errorChannel, errorChannel, errorMessageStrategy, id, observationConvention, outputChannel, outputChannel, phase, sendTimeout, shouldTrackMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Field Details- 
headerMapper
 
- 
- 
Constructor Details- 
AmqpBaseInboundChannelAdapterSpec
 
- 
- 
Method Details- 
messageConverterConfigure the adapter'sMessageConverter; defaults toSimpleMessageConverter.- Parameters:
- messageConverter- the messageConverter.
- Returns:
- the spec.
- See Also:
 
- 
headerMapperConfigure the adapter'sAmqpHeaderMapper; defaults toDefaultAmqpHeaderMapper.- Parameters:
- headerMapper- the headerMapper.
- Returns:
- the spec.
 
- 
mappedRequestHeadersOnly applies if the default header mapper is used.- Parameters:
- headers- the headers.
- Returns:
- the spec.
- See Also:
 
- 
retryTemplateSet aRetryTemplateto use for retrying a message delivery within the adapter.- Parameters:
- retryTemplate- the template.
- Returns:
- the spec.
- Since:
- 5.0.2
- See Also:
 
- 
recoveryCallbackSet aRecoveryCallbackwhen using retry within the adapter.- Parameters:
- recoveryCallback- the callback.
- Returns:
- the spec.
- Since:
- 5.0.2
- See Also:
 
- 
messageRecovererSet aMessageRecovererwhen using retry within the adapter.- Parameters:
- messageRecoverer- the callback.
- Returns:
- the spec.
- Since:
- 5.5
- See Also:
 
 
-