public class SimpleJmsListenerEndpoint extends AbstractJmsListenerEndpoint
JmsListenerEndpoint simply providing the MessageListener to
invoke to process an incoming message for this endpoint.| Constructor and Description |
|---|
SimpleJmsListenerEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected MessageListener |
createMessageListener(MessageListenerContainer container)
Create a
MessageListener that is able to serve this endpoint for the
specified container. |
protected java.lang.StringBuilder |
getEndpointDescription()
Return a description for this endpoint.
|
MessageListener |
getMessageListener()
Return the
MessageListener to invoke when a message matching
the endpoint is received. |
void |
setMessageListener(MessageListener messageListener)
Set the
MessageListener to invoke when a message matching
the endpoint is received. |
getConcurrency, getDestination, getId, getSelector, getSubscription, setConcurrency, setDestination, setId, setSelector, setSubscription, setupListenerContainer, toStringpublic void setMessageListener(@Nullable MessageListener messageListener)
MessageListener to invoke when a message matching
the endpoint is received.@Nullable public MessageListener getMessageListener()
MessageListener to invoke when a message matching
the endpoint is received.protected MessageListener createMessageListener(MessageListenerContainer container)
AbstractJmsListenerEndpointMessageListener that is able to serve this endpoint for the
specified container.createMessageListener in class AbstractJmsListenerEndpointprotected java.lang.StringBuilder getEndpointDescription()
AbstractJmsListenerEndpointAvailable to subclasses, for inclusion in their toString() result.
getEndpointDescription in class AbstractJmsListenerEndpoint