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 typeC- 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, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
MessageListenerContainerSpec
public MessageListenerContainerSpec()
-
-
Method Details
-
queueName
Set the queue names.- Parameters:
queueNames- the queue names.- Returns:
- this spec.
-