接口 JmsListenerEndpoint
public interface JmsListenerEndpoint
Model for a JMS listener endpoint. Can be used against aJmsListenerConfigurer
to register endpoints programmatically.- 从以下版本开始:
- 4.1
- 作者:
- Stephane Nicoll
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 String
getId()
Return the id of this endpoint.void
setupListenerContainer(MessageListenerContainer listenerContainer)
Setup the specified message listener container with the model defined by this endpoint.
方法详细资料
setupListenerContainer
void setupListenerContainer(MessageListenerContainer listenerContainer)
Setup the specified message listener container with the model defined by this endpoint.This endpoint must provide the requested missing option(s) of the specified container to make it usable. Usually, this is about setting the
destination
and themessageListener
to use but an implementation may override any default setting that was already set.- 参数:
listenerContainer
- the listener container to configure