Class JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>>
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<S>
- Type Parameters:
S
- the targetJmsInboundChannelAdapterSpec
implementation type.
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<JmsDestinationPollingSource>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
- Direct Known Subclasses:
JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
public class JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>> extends MessageSourceSpec<S,JmsDestinationPollingSource>
- Since:
- 5.0
- Author:
- Artem Bilan
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
AJmsTemplate
-basedJmsInboundChannelAdapterSpec
extension. -
Field Summary
Fields Modifier and Type Field Description protected JmsTemplateSpec
jmsTemplateSpec
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
JmsInboundChannelAdapterSpec(JmsTemplate jmsTemplate)
-
Method Summary
Modifier and Type Method Description S
destination(String destination)
Configure the name of destination from which to receive messages.S
destination(javax.jms.Destination destination)
Configure the destination from which to receive messages.S
headerMapper(JmsHeaderMapper headerMapper)
Configure aJmsHeaderMapper
to map from JMS headers and properties to Spring Integration headers.S
messageSelector(String 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
-
Field Details
-
Constructor Details
-
Method Details
-
messageSelector
- Parameters:
messageSelector
- the messageSelector.- Returns:
- the spec.
- See Also:
JmsDestinationPollingSource.setMessageSelector(String)
-
headerMapper
Configure aJmsHeaderMapper
to map from JMS headers and properties to Spring Integration headers.- Parameters:
headerMapper
- the headerMapper.- Returns:
- the spec.
-
destination
Configure the destination from which to receive messages.- Parameters:
destination
- the destination.- Returns:
- the spec.
-
destination
Configure the name of destination from which to receive messages.- Parameters:
destination
- the destination.- Returns:
- the spec.
-