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 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
logger, PARSER, targetFields 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, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 theConsumercallback, passing in aJmsTemplateSpec.- Parameters:
configurer- the configurer.- Returns:
- the spec.
-
getComponentsToRegister
- Specified by:
getComponentsToRegisterin interfaceComponentsRegistration
-