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 targetJmsInboundChannelAdapterSpecimplementation 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 classJmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAwareAJmsTemplate-basedJmsInboundChannelAdapterSpecextension. -
Field Summary
Fields Modifier and Type Field Description protected JmsTemplateSpecjmsTemplateSpecFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target -
Constructor Summary
Constructors Modifier Constructor Description protectedJmsInboundChannelAdapterSpec(JmsTemplate jmsTemplate) -
Method Summary
Modifier and Type Method Description Sdestination(String destination)Configure the name of destination from which to receive messages.Sdestination(javax.jms.Destination destination)Configure the destination from which to receive messages.SheaderMapper(JmsHeaderMapper headerMapper)Configure aJmsHeaderMapperto map from JMS headers and properties to Spring Integration headers.SmessageSelector(String messageSelector)Methods 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
-
Field Details
-
Constructor Details
-
Method Details
-
messageSelector
- Parameters:
messageSelector- the messageSelector.- Returns:
- the spec.
- See Also:
JmsDestinationPollingSource.setMessageSelector(String)
-
headerMapper
Configure aJmsHeaderMapperto 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.
-