Class MessageListenerContainerSpec<S extends MessageListenerContainerSpec<S,C>,C extends MessageListenerContainer>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
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:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<C>,InitializingBean,Lifecycle,Phased,SmartLifecycle
- Direct Known Subclasses:
AbstractMessageListenerContainerSpec,RabbitStreamMessageListenerContainerSpec
public abstract class MessageListenerContainerSpec<S extends MessageListenerContainerSpec<S,C>,C extends MessageListenerContainer>
extends IntegrationComponentSpec<S,C>
Base class for container specs.
- Since:
- 6.0
- Author:
- Gary Russell
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, targetFields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields 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, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
MessageListenerContainerSpec
public MessageListenerContainerSpec()
-
-
Method Details
-
queueName
Set the queue names.- Parameters:
queueNames- the queue names.- Returns:
- this spec.
-