Class MessageListenerContainerSpec<S extends MessageListenerContainerSpec<S,C>,C extends org.springframework.amqp.rabbit.listener.MessageListenerContainer>

java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
org.springframework.integration.amqp.dsl.MessageListenerContainerSpec<S,C>
Type Parameters:
S - the current spec extension type
C - the listener container type
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<C>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
Direct Known Subclasses:
AbstractMessageListenerContainerSpec, RabbitStreamMessageListenerContainerSpec

public abstract class MessageListenerContainerSpec<S extends MessageListenerContainerSpec<S,C>,C extends org.springframework.amqp.rabbit.listener.MessageListenerContainer> extends org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
Base class for container specs.
Since:
6.0
  • Field Summary

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

    logger, PARSER, target

    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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    queueName(String... queueNames)
    Set the queue names.

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

    _this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop

    Methods inherited from class java.lang.Object

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

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

    isSingleton
  • Constructor Details

    • MessageListenerContainerSpec

      public MessageListenerContainerSpec()
  • Method Details

    • queueName

      public S queueName(String... queueNames)
      Set the queue names.
      Parameters:
      queueNames - the queue names.
      Returns:
      this spec.