w 异步(Asynchronously):你需要定义一个消息监听器(MessageListener),实现该接口。当消息达到时,JMS provider通过调用该对象的 onMessage方法来传递消息。
基于32个网页-相关网页
The MessageListener is one implementation of data arrival synchronization.
MessageListener是数据到达同步的一种实现。
As mentioned before, one of the input parameters of the subscribe method of the SubscriberHelper is a MessageListener.
在上文已经提及,SubscriberHelper的subscribe方法的输入参数之一为MessageListener。
When a JMS provider invokes a MessageListener, the application server can't intercept the call and add the appropriate context.
当JMS提供者调用MessageListener时,应用服务器不能阻止调用和添加合适的上下文。
应用推荐