public class JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>> extends MessageSourceSpec<S,org.springframework.integration.jms.JmsDestinationPollingSource>
MessageSourceSpec
for a JmsDestinationPollingSource
.Modifier and Type | Class and Description |
---|---|
static class |
JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware |
id, logger, PARSER, target
Modifier and Type | Method and Description |
---|---|
S |
destination(javax.jms.Destination destination)
Configure the destination from which to receive messages.
|
S |
destination(java.lang.String destination)
Configure the name of destination from which to receive messages.
|
protected org.springframework.integration.jms.JmsDestinationPollingSource |
doGet() |
S |
headerMapper(org.springframework.integration.jms.JmsHeaderMapper headerMapper)
Configure a
JmsHeaderMapper to map from JMS headers and properties to
Spring Integration headers. |
S |
messageSelector(java.lang.String messageSelector) |
_this, get, getId, id
public S messageSelector(java.lang.String messageSelector)
messageSelector
- the messageSelector.JmsDestinationPollingSource.setMessageSelector(String)
public S headerMapper(org.springframework.integration.jms.JmsHeaderMapper headerMapper)
JmsHeaderMapper
to map from JMS headers and properties to
Spring Integration headers.headerMapper
- the headerMapper.public S destination(javax.jms.Destination destination)
destination
- the destination.public S destination(java.lang.String destination)
destination
- the destination.protected org.springframework.integration.jms.JmsDestinationPollingSource doGet()
doGet
in class IntegrationComponentSpec<S extends JmsInboundChannelAdapterSpec<S>,org.springframework.integration.jms.JmsDestinationPollingSource>