S
- the target JmsInboundChannelAdapterSpec
implementation type.public class JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>> extends MessageSourceSpec<S,JmsDestinationPollingSource>
Modifier and Type | Class and Description |
---|---|
static class |
JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
A
JmsTemplate -based JmsInboundChannelAdapterSpec extension. |
Modifier and Type | Field and Description |
---|---|
protected JmsTemplateSpec |
jmsTemplateSpec |
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
JmsInboundChannelAdapterSpec(JmsTemplate jmsTemplate) |
Modifier and Type | Method and Description |
---|---|
S |
destination(Destination destination)
Configure the destination from which to receive messages.
|
S |
destination(String destination)
Configure the name of destination from which to receive messages.
|
S |
headerMapper(JmsHeaderMapper headerMapper)
Configure a
JmsHeaderMapper to map from JMS headers and properties to
Spring Integration headers. |
S |
messageSelector(String messageSelector) |
messageHeaders
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected final JmsTemplateSpec jmsTemplateSpec
protected JmsInboundChannelAdapterSpec(JmsTemplate jmsTemplate)
public S messageSelector(String messageSelector)
messageSelector
- the messageSelector.JmsDestinationPollingSource.setMessageSelector(String)
public S headerMapper(JmsHeaderMapper headerMapper)
JmsHeaderMapper
to map from JMS headers and properties to
Spring Integration headers.headerMapper
- the headerMapper.public S destination(Destination destination)
destination
- the destination.