Package org.springframework.jms.config
Class SimpleJmsListenerEndpoint
java.lang.Object
org.springframework.jms.config.AbstractJmsListenerEndpoint
org.springframework.jms.config.SimpleJmsListenerEndpoint
- All Implemented Interfaces:
JmsListenerEndpoint
A
JmsListenerEndpoint simply providing the MessageListener to
invoke to process an incoming message for this endpoint.- Since:
- 4.1
- Author:
- Stephane Nicoll
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MessageListenercreateMessageListener(MessageListenerContainer container) Create aMessageListenerthat is able to serve this endpoint for the specified container.protected StringBuilderReturn a description for this endpoint.Return theMessageListenerto invoke when a message matching the endpoint is received.voidsetMessageListener(MessageListener messageListener) Set theMessageListenerto invoke when a message matching the endpoint is received.Methods inherited from class org.springframework.jms.config.AbstractJmsListenerEndpoint
getConcurrency, getDestination, getId, getSelector, getSubscription, setConcurrency, setDestination, setId, setSelector, setSubscription, setupListenerContainer, toString
-
Constructor Details
-
SimpleJmsListenerEndpoint
public SimpleJmsListenerEndpoint()
-
-
Method Details
-
setMessageListener
Set theMessageListenerto invoke when a message matching the endpoint is received. -
getMessageListener
Return theMessageListenerto invoke when a message matching the endpoint is received. -
createMessageListener
Description copied from class:AbstractJmsListenerEndpointCreate aMessageListenerthat is able to serve this endpoint for the specified container.- Specified by:
createMessageListenerin classAbstractJmsListenerEndpoint
-
getEndpointDescription
Description copied from class:AbstractJmsListenerEndpointReturn a description for this endpoint.Available to subclasses, for inclusion in their
toString()result.- Overrides:
getEndpointDescriptionin classAbstractJmsListenerEndpoint
-