Class JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<S extends JmsListenerContainerSpec<S,C>,C extends AbstractMessageListenerContainer>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,P>
org.springframework.integration.dsl.MessageProducerSpec<S,JmsMessageDrivenEndpoint>
org.springframework.integration.jms.dsl.JmsMessageDrivenChannelAdapterSpec<JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<S,C>>
org.springframework.integration.jms.dsl.JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<S,C>
- Type Parameters:
S- the targetJmsListenerContainerSpecimplementation type.C- the targetAbstractMessageListenerContainerimplementation type.
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<JmsMessageDrivenEndpoint>,InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
- Enclosing class:
- JmsMessageDrivenChannelAdapterSpec<S extends JmsMessageDrivenChannelAdapterSpec<S>>
public static class JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<S extends JmsListenerContainerSpec<S,C>,C extends AbstractMessageListenerContainer>
extends JmsMessageDrivenChannelAdapterSpec<JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<S,C>>
implements ComponentsRegistration
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.integration.jms.dsl.JmsMessageDrivenChannelAdapterSpec
JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<S extends JmsListenerContainerSpec<S,C>, C extends AbstractMessageListenerContainer> -
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
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionconfigureListenerContainer(Consumer<S> configurer) Configure a listener container by invoking theConsumercallback, with aJmsListenerContainerSpecargument.destination(Destination destination) destination(String destinationName) Specify a destination name to use.Methods inherited from class org.springframework.integration.jms.dsl.JmsMessageDrivenChannelAdapterSpec
extractPayload, headerMapper, jmsMessageConverter, shutdownContainerOnStopMethods inherited from class org.springframework.integration.dsl.MessageProducerSpec
autoStartup, errorChannel, errorChannel, errorMessageStrategy, id, outputChannel, outputChannel, phase, sendTimeout, shouldTrackMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, 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
-
JmsMessageDrivenChannelAdapterListenerContainerSpec
-
-
Method Details
-
destination
public JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<S,C> destination(Destination destination) - Parameters:
destination- the destination.- Returns:
- the spec.
- See Also:
-
JmsListenerContainerSpec.destination(Destination)
-
destination
public JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<S,C> destination(String destinationName) Specify a destination name to use.- Parameters:
destinationName- the destinationName.- Returns:
- the spec.
- See Also:
-
JmsListenerContainerSpec.destination(String)
-
configureListenerContainer
public JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<S,C> configureListenerContainer(Consumer<S> configurer) Configure a listener container by invoking theConsumercallback, with aJmsListenerContainerSpecargument.- Parameters:
configurer- the configurer.- Returns:
- the spec.
-
getComponentsToRegister
- Specified by:
getComponentsToRegisterin interfaceComponentsRegistration
-