类 SimpleJmsListenerEndpoint
- java.lang.Object
- org.springframework.jms.config.AbstractJmsListenerEndpoint
- org.springframework.jms.config.SimpleJmsListenerEndpoint
- 所有已实现的接口:
JmsListenerEndpoint
public class SimpleJmsListenerEndpoint extends AbstractJmsListenerEndpoint
AJmsListenerEndpoint
simply providing theMessageListener
to invoke to process an incoming message for this endpoint.- 从以下版本开始:
- 4.1
- 作者:
- Stephane Nicoll
构造器概要
构造器 构造器 说明 SimpleJmsListenerEndpoint()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected MessageListener
createMessageListener(MessageListenerContainer container)
Create aMessageListener
that is able to serve this endpoint for the specified container.protected StringBuilder
getEndpointDescription()
Return a description for this endpoint.MessageListener
getMessageListener()
Return theMessageListener
to invoke when a message matching the endpoint is received.void
setMessageListener(MessageListener messageListener)
Set theMessageListener
to invoke when a message matching the endpoint is received.从类继承的方法 org.springframework.jms.config.AbstractJmsListenerEndpoint
getConcurrency, getDestination, getId, getSelector, getSubscription, setConcurrency, setDestination, setId, setSelector, setSubscription, setupListenerContainer, toString
构造器详细资料
SimpleJmsListenerEndpoint
public SimpleJmsListenerEndpoint()
方法详细资料
setMessageListener
public void setMessageListener(MessageListener messageListener)
Set theMessageListener
to invoke when a message matching the endpoint is received.
getMessageListener
public MessageListener getMessageListener()
Return theMessageListener
to invoke when a message matching the endpoint is received.
createMessageListener
protected MessageListener createMessageListener(MessageListenerContainer container)
从类复制的说明:AbstractJmsListenerEndpoint
Create aMessageListener
that is able to serve this endpoint for the specified container.
getEndpointDescription
protected StringBuilder getEndpointDescription()
从类复制的说明:AbstractJmsListenerEndpoint
Return a description for this endpoint.Available to subclasses, for inclusion in their
toString()
result.