与同步消息代理一样,这一对消息队列担当使用者用来调用服务的单个地址,而不管多少提供者可能正在侦听,如图5所示。
Like a synchronous service proxy, the pair of message queues ACTS as a single address the consumer USES to invoke the service, regardless of how many providers may be listening, as shown in Figure 5.
服务使用者只需要一个应答队列,该队列可以是匿名的动态队列或预定义的静态队列。
The service consumer needs only a reply-to queue, which can be an anonymous dynamic queue or a predefined static queue.
每个提供者都可以看到请求队列中的使用者,这使得它们要竞争使用者。
Each of the providers is a consumer on the request queue, which makes them competing consumers.
应用推荐