Class JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageSourceSpec<S,JmsDestinationPollingSource>
org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec<JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware>
org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<JmsDestinationPollingSource>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
,ComponentsRegistration
- Enclosing class:
- JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>>
public static class JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware extends JmsInboundChannelAdapterSpec<JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware> implements ComponentsRegistration
A
JmsTemplate
-based JmsInboundChannelAdapterSpec
extension.-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec
JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
-
Field Summary
Fields inherited from class org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec
jmsTemplateSpec
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
JmsInboundChannelSpecTemplateAware(javax.jms.ConnectionFactory connectionFactory)
-
Method Summary
Modifier and Type Method Description JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
configureJmsTemplate(Consumer<JmsTemplateSpec> configurer)
Configure the channel adapter to use the template specification created by invoking theConsumer
callback, passing in aJmsTemplateSpec
.Map<Object,String>
getComponentsToRegister()
Methods inherited from class org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec
destination, destination, headerMapper, messageSelector
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, 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
-
Constructor Details
-
JmsInboundChannelSpecTemplateAware
protected JmsInboundChannelSpecTemplateAware(javax.jms.ConnectionFactory connectionFactory)
-
-
Method Details
-
configureJmsTemplate
public JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware configureJmsTemplate(Consumer<JmsTemplateSpec> configurer)Configure the channel adapter to use the template specification created by invoking theConsumer
callback, passing in aJmsTemplateSpec
.- Parameters:
configurer
- the configurer.- Returns:
- the spec.
-
getComponentsToRegister
- Specified by:
getComponentsToRegister
in interfaceComponentsRegistration
-