Class AmqpBaseInboundGatewaySpec<S extends AmqpBaseInboundGatewaySpec<S>>

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,​G>
org.springframework.integration.dsl.MessagingGatewaySpec<S,​AmqpInboundGateway>
org.springframework.integration.amqp.dsl.AmqpBaseInboundGatewaySpec<S>
Type Parameters:
S - the target AmqpBaseInboundGatewaySpec implementation type.
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<AmqpInboundGateway>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
Direct Known Subclasses:
AmqpInboundGatewaySpec

public class AmqpBaseInboundGatewaySpec<S extends AmqpBaseInboundGatewaySpec<S>>
extends org.springframework.integration.dsl.MessagingGatewaySpec<S,​AmqpInboundGateway>
A base MessagingGatewaySpec implementation for AmqpInboundGateway endpoint options. Doesn't allow to specify listenerContainer options.
Since:
5.0
See Also:
AmqpInboundGateway
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected DefaultAmqpHeaderMapper headerMapper  

    Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    PARSER, target

    Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    logger

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected AmqpBaseInboundGatewaySpec​(AmqpInboundGateway gateway)  
  • Method Summary

    Modifier and Type Method Description
    S batchingStrategy​(org.springframework.amqp.rabbit.batch.BatchingStrategy batchingStrategy)
    Set a batching strategy to use when de-batching messages.
    S bindSourceMessage​(boolean bindSourceMessage)
    Set to true to bind the source message in the headers.
    S defaultReplyTo​(java.lang.String defaultReplyTo)
    The defaultReplyTo address with the form
    S headerMapper​(AmqpHeaderMapper headerMapper)
    Configure the gateway's AmqpHeaderMapper; defaults to DefaultAmqpHeaderMapper.
    S mappedReplyHeaders​(java.lang.String... headers)
    Only applies if the default header mapper is used.
    S mappedRequestHeaders​(java.lang.String... headers)
    Only applies if the default header mapper is used.
    S messageConverter​(org.springframework.amqp.support.converter.MessageConverter messageConverter)
    Configure the gateway's MessageConverter; defaults to SimpleMessageConverter.
    S messageRecoverer​(org.springframework.amqp.rabbit.retry.MessageRecoverer messageRecoverer)
    Set a MessageRecoverer when using retry within the adapter.
    S recoveryCallback​(org.springframework.retry.RecoveryCallback<?> recoveryCallback)
    Set a RecoveryCallback when using retry within the adapter.
    S replyHeadersMappedLast​(boolean replyHeadersMappedLast)
    When mapping headers for the outbound (reply) message, determine whether the headers are mapped before the message is converted, or afterwards.
    S retryTemplate​(org.springframework.retry.support.RetryTemplate retryTemplate)
    Set a RetryTemplate to use for retrying a message delivery within the adapter.

    Methods inherited from class org.springframework.integration.dsl.MessagingGatewaySpec

    autoStartup, errorChannel, errorChannel, errorOnTimeout, id, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrack

    Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    _this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop

    Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait