public class MethodJmsListenerEndpoint extends AbstractJmsListenerEndpoint
JmsListenerEndpoint providing the method to invoke to process
an incoming message for this endpoint.| Constructor and Description |
|---|
MethodJmsListenerEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected MessagingMessageListenerAdapter |
createMessageListener(MessageListenerContainer container)
Create a
MessageListener that is able to serve this endpoint for the
specified container. |
protected MessagingMessageListenerAdapter |
createMessageListenerInstance()
Create an empty
MessagingMessageListenerAdapter instance. |
Object |
getBean() |
protected String |
getDefaultResponseDestination()
Return the default response destination, if any.
|
protected StringBuilder |
getEndpointDescription()
Return a description for this endpoint.
|
Method |
getMethod() |
void |
setBean(Object bean)
Set the object instance that should manage this endpoint.
|
void |
setBeanFactory(BeanFactory beanFactory)
Set the
BeanFactory to use to resolve expressions (can be null). |
void |
setMessageHandlerMethodFactory(MessageHandlerMethodFactory messageHandlerMethodFactory)
Set the
MessageHandlerMethodFactory to use to build the
InvocableHandlerMethod responsible to manage the invocation
of this endpoint. |
void |
setMethod(Method method)
Set the method to invoke to process a message managed by this endpoint.
|
getConcurrency, getDestination, getId, getSelector, getSubscription, setConcurrency, setDestination, setId, setSelector, setSubscription, setupListenerContainer, toStringpublic void setBean(Object bean)
public Object getBean()
public void setMethod(Method method)
public Method getMethod()
public void setMessageHandlerMethodFactory(MessageHandlerMethodFactory messageHandlerMethodFactory)
MessageHandlerMethodFactory to use to build the
InvocableHandlerMethod responsible to manage the invocation
of this endpoint.public void setBeanFactory(BeanFactory beanFactory)
BeanFactory to use to resolve expressions (can be null).protected MessagingMessageListenerAdapter createMessageListener(MessageListenerContainer container)
AbstractJmsListenerEndpointMessageListener that is able to serve this endpoint for the
specified container.createMessageListener in class AbstractJmsListenerEndpointprotected MessagingMessageListenerAdapter createMessageListenerInstance()
MessagingMessageListenerAdapter instance.protected String getDefaultResponseDestination()
protected StringBuilder getEndpointDescription()
AbstractJmsListenerEndpointAvailable to subclasses, for inclusion in their toString() result.
getEndpointDescription in class AbstractJmsListenerEndpoint