Coding of a J2EE message consumer, with Geronimo's support, is also simple.
使用Geronimo的支持对J2EE消息消费者进行编码也很简单。
Messages are then queued on the instance of DCQ1 without an active message consumer application.
这样,消息排列在没有活动消息使用方应用程序的DCQ1的实例上。
The message is now available to be delivered to a message consumer, such as a service provider or an MDB.
现在,消息允许被传递给一个消息消费者,例如一个服务提供者或是一个MDB。
The solution ensures that messages are sent to only those instances that have active message consumer applications.
这个解决方案确保消息只被发送到拥有活动消息使用方应用程序的那些实例。
Therefore messages can be sent to cluster queues that are not being actively served by message consumer applications.
因此,可以将消息发送到消息使用方应用程序不积极提供服务的集群队列。
A subscriber is a message consumer that receives messages under a particular topic, published by a message publisher.
订阅者是消息使用者,其接收特定主题下由消息发布者发布的消息。
In this example, the message consumer application runs within an application server that is offline due to an unplanned outage.
在这个示例中,消息使用方应用程序在一个由于计划外停用而离线的应用程序服务器中运行。
Stop one of the message consumer applications and put more messages to the DCQ1 queues, using the message producer application.
停止其中一个消息使用方应用程序,并使用消息生成方应用程序将更多消息放置到 DCQ1队列中。
This article shows you how to send messages only to those queues that are being actively served by message consumer applications.
本文展示如何只将消息发送到正由消息使用方应用程序积极提供服务的那些队列。
Interface QueueListener identifies a message consumer and abstracts the common functions that a message consumer should provide.
接口QueueListener标识消息使用者并提取消息使用者应该提供的通用功能。
In most environments, if messages arrived on CLUSQ1 on QM3, WebSphere MQ triggering could be used to start a message consumer application.
在多数环境中,如果消息到达QM 3上的CLUSQ1,WebSphereMQ触发机制可用于启动一个消息使用方应用程序。
The cluster workload balancing algorithm does not allow puts to queues that are put-disabled (those queues with no active message consumer applications).
集群工作负载平衡算法不允许将消息放置到禁用放置的队列(没有活动消息使用方应用程序的队列)。
The solution USES a simple application to get each message from the cluster queue with no active message consumer applications and put them to another cluster queue.
这个解决方案使用一个简单的应用程序从没有活动消息使用方应用程序的集群队列提取消息,并将它们放置到另一个集群队列中。
By default, messages are load balanced based on queue manager availability, but they are not load balanced based on the availability of message consumer applications.
默认情况下,消息是基于队列管理器可用性实现负载平衡的,而不是基于消息使用方应用程序的可用性。
This example uses the same SendServlet code as in the first example, but the message consumer is now an MDB inside the same enterprise application (bundled in the same EAR).
这个示例使用与第一个示例完全相同的 SendServlet代码,但是,消息消费者现在是同一企业应用程序内的 MDB(绑定在同一 EAR 中)。
In P2P mode, a message producer sends a message to a specific message consumer through a queue, whereas pub-sub is intended for the one-to-many or many-to-many broadcast of messages.
在P 2 P模式中,消息的生产者通过队列传送消息给特定的消息消费者,而发布—订阅模式则以一对多或多对多的方式进行消息的传播。
By default, clustering load balances messages equally between the instances of CLUSQ1 on QM2 and QM3, even though CLUSQ1 on QM3 is not being served by a message consumer application.
默认情况下,集群机制在QM2和QM 3上的CLUSQ1的各个实例之间均等地平衡消息负载,即使一个消息使用方应用程序当时不对QM 3上的CLUSQ1提供服务。
In this situation, whilst the application server is offline, it is better to send all messages to CLUSQ1 on QM2, which has an active application server and message consumer application.
在这种情况下,当该应用程序服务器离线时,最好将所有消息发送到拥有一个活动应用程序服务器和消息使用方应用程序的QM 2上的CLUSQ1中。
Every consumer receives a copy of every message automatically without having to request or poll the topic for new messages.
每个消费者将自动接收每条消息的副本,无需请求或对主题进行轮询以获得新消息。
The same message can also be received by its consumer over any of those protocols, regardless of how it arrived in the bus.
在任意的协议上消息的消费者也能够接收相同的消息,与其怎样到达总线无关。
The retrieved message will not be available to any other consumer of the queue.
确保在指定的时间段内队列的其他消费者看不到已被接收的消息。
If you put a message in the input box and click Send message, the message appears in the command-line consumer.
如果你输入框中输入消息,然后点击发送消息按钮,该消息会出现在消费者端的命令行上。
Unless explicitly designed into the message content schema or topic space, a consumer has no knowledge of where a message originated.
消费者不会知道消息是从何处产生的,除非明确地将该消息设计到消息内容计划或着主题空间中。
Assume, for example, that the consumer sends a message to the service provider.
例如,假设,消费者向服务提供程序发送一条消息。
After the expiration, the message once appears in the queue, giving another consumer the chance to retrieve the message and process it.
过期之后,消息再次出现在队列中,让其他消费者有机会获取和处理它。
The most common response is to send an error message back to the consumer indicating that a timeout occurred.
最常见的响应就是向消费者回发一条错误消息,指出发生了超时。
It creates a consumer listening for a message with the selector that correlates the response to the request, as discussed above.
它将创建一个使用者,以按照上面讨论的方式使用将响应和请求关联的选择器来侦听消息。
First, a service consumer sends a request message to a service provider.
首先,服务使用者向服务提供者发送一条请求消息。
In addition a JMS client that produces a message is called a producer, whilst one that receives a message is called a consumer.
另外,产生消息的JMS客户端被称为是生产者,而接收消息的JMS客户端被称为消费者。
If a matching response is found, the cache request mediation returns the response message to the service consumer immediately.
如果找到匹配响应,缓存请求中介则将该响应消息立即返回给服务使用者。
应用推荐