Class JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
java.lang.Object
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:
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
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ModifierConstructorDescriptionprotected
JmsInboundChannelSpecTemplateAware
(ConnectionFactory connectionFactory) -
Method Summary
Modifier and TypeMethodDescriptionconfigureJmsTemplate
(Consumer<JmsTemplateSpec> configurer) Configure the channel adapter to use the template specification created by invoking theConsumer
callback, passing in aJmsTemplateSpec
.Methods inherited from class org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec
destination, destination, headerMapper, messageSelector
Methods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeaders
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, get, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
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 theConsumer
callback, passing in aJmsTemplateSpec
.- Parameters:
configurer
- the configurer.- Returns:
- the spec.
-
getComponentsToRegister
- Specified by:
getComponentsToRegister
in interfaceComponentsRegistration
-