目前,没有用于返回队列地址对的标准服务,所以使用者必须确切地知道这些地址。
Currently, there is no standard service for returning a pair of queue addresses, so the consumer must just know the addresses.
与同步消息代理一样,这一对消息队列担当使用者用来调用服务的单个地址,而不管多少提供者可能正在侦听,如图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.
ESB可以提供持久性的队列支持,当使用者发送服务请求时,可以通过这种支持来解耦必须处于可用状态的提供者。
The ESB may provide persistent queueing support which can be used to decouple the provider having to be available when the consumer sends the service request.
第二个使用者能在很短的时间内使用大量消息“淹没”服务的请求队列,使得呼叫中心解决方案很难继续正常运行。
This second consumer can flood the request queue of the service with a large number of messages in a short time, making it difficult for the call center solution to continue to perform as appropriate.
服务使用者只需要一个应答队列,该队列可以是匿名的动态队列或预定义的静态队列。
The service consumer needs only a reply-to queue, which can be an anonymous dynamic queue or a predefined static queue.
当队列满员时,系统从异步行为切换到同步行为,这时,消息生成者生成消息的速度只能与消息使用者使用消息的速度一样快。
At that point, the system changes from asynchronous behavior to synchronous behavior, where the producer can enqueue messages only as fast as the consumer can dequeue them.
每个提供者都可以看到请求队列中的使用者,这使得它们要竞争使用者。
Each of the providers is a consumer on the request queue, which makes them competing consumers.
在本例中,实现隔离的方法是:向单独的使用者分配单独的队列,并确保服务提供商按照优先顺序服务所有队列。
Here, isolation can be achieved by assigning separate queues to separate consumers, and ensuring that the service provider serves all queues in a prioritized manner.
如图9所示,一种类型的束称为消息队列提供者,另一种称为消息队列使用者。
As shown in Figure 9, one type of Bundle is called Message queue provider, and the other is called Message queue consumer.
使用者以请求队列中的消息的形式发送SOAP 请求。
The consumer sends the SOAP request as a message on the request queue.
同时需要注意,使用者不使用UDDI查找请求队列和应答队列。
Note as well that the consumer does not use UDDI to find the request and reply queues.
当相关消息可用时,消息队列提供者向消息队列使用者(即消息队列侦听器)发出通知。
Message queue provider notifies message queue consumer, the message queue listener, when messages of interest are available.
将来,需要扩展uddi或者指定类似的服务供使用者查询,以便发现用于调用特定服务的队列对。
In the future, either UDDI needs to be extended or a similar service specified that a consumer can query to discover the pair of queues for invoking a particular service.
支持使用者异步调用Web服务的Broker是通过消息传递系统实现的,消息传递系统使用消息队列来发送请求和接收响应。
A broker that enables a consumer to invoke a Web service asynchronously is implemented using a messaging system that USES message queues for sending the request and receiving the response.
消息队列使用者注册为消息队列侦听器。
Message queue consumer is registered as a message queue listener.
随机早期检测(RED)队列管理算法的参数设置主要依赖于使用者的经验,并且其相关理论指导存在一定缺陷。
The parameter setting for Random Early Detection(RED) queue management algorithm depends on the user's experience and its related theoretical guidance exists some defects at present.
可以实现或重写这些方法,以检查消息,然后或者使用该消息,或者将消息传递到消息队列中的下一个使用者。
You can implement or override these methods to examine the message and then either consume the message or pass it on to the next consumer in the message queue.
可以实现或重写这些方法,以检查消息,然后或者使用该消息,或者将消息传递到消息队列中的下一个使用者。
You can implement or override these methods to examine the message and then either consume the message or pass it on to the next consumer in the message queue.
应用推荐