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
jmsTemplateSpecFields 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
ConstructorsModifierConstructorDescriptionprotectedJmsInboundChannelSpecTemplateAware(ConnectionFactory connectionFactory) -
Method Summary
Modifier and TypeMethodDescriptionconfigureJmsTemplate(Consumer<JmsTemplateSpec> configurer) Configure the channel adapter to use the template specification created by invoking theConsumercallback, passing in aJmsTemplateSpec.Methods inherited from class org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec
destination, destination, headerMapper, messageSelectorMethods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeadersMethods 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
-
JmsInboundChannelSpecTemplateAware
-
-
Method Details
-
configureJmsTemplate
public JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware configureJmsTemplate(Consumer<JmsTemplateSpec> configurer) Configure the channel adapter to use the template specification created by invoking theConsumercallback, passing in aJmsTemplateSpec.- Parameters:
configurer- the configurer.- Returns:
- the spec.
-
getComponentsToRegister
- Specified by:
getComponentsToRegisterin interfaceComponentsRegistration
-