Class JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware, JmsDestinationPollingSource>
org.springframework.integration.dsl.MessageSourceSpec<JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware, JmsDestinationPollingSource>
org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec<JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware>
org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
- All Implemented Interfaces:
- 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.- Since:
- 5.0
- Author:
- Artem Bilan
- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpecJmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
- 
Field SummaryFields inherited from class org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpecjmsTemplateSpecFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedJmsInboundChannelSpecTemplateAware(ConnectionFactory connectionFactory) 
- 
Method SummaryModifier 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.JmsInboundChannelAdapterSpecdestination, destination, headerMapper, messageSelectorMethods inherited from class org.springframework.integration.dsl.MessageSourceSpecmessageHeadersMethods 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
JmsInboundChannelSpecTemplateAware
 
- 
- 
Method Details- 
configureJmsTemplatepublic 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 interface- ComponentsRegistration
 
 
-