可以将消息组与事务结合使用。
You can combine the use of message groups with transactions.
消息组还可用于另一个目的。
在J2EE应用服务器中接收消息组。
消息组是一种不太为人所知的JMS可选特性。
可以通过将消息放入到消息组中对此聚合进行管理。
You could manage this aggregation by placing the messages in a message group.
消息组中的每个实体都是一个完整的消息。
Each of the entities in a message group is an entire message.
本文描述了消息组的概念以及为何需要使用消息组的原因。
This article has described what messages groups are and why you might want to use them.
此工作由应用程序通过为每个消息组使用唯一的相关ID来实现。
This is done by the application using a unique correlation id for each group of messages.
虽然这些示例进行了简化,但也应该能帮助您了解如何在这些环境中处理消息组。
While somewhat simplified, these examples should help you understand how message groups can be handled effectively in these environments.
如果成功接收了整个消息组,则方法将完成,容器将提交事务,从而从目的地中删除这些消息。
If the entire message group is received successfully, then the method completes and the container commits the transaction, thereby removing the messages from the destination.
从消息组的角度而言,要注意的第一个重要方面是向put消息选项添加了约束MQPMO_LOGICAL_ORDER。
From the point of view of message groups, the first important thing to note is that the constant MQPMO_LOGICAL_ORDER is added to the put message options.
每次将消息流或消息组的一个新版本号添加到BAR文件中时,最近添加的文件的名称都会附加上“_”(下划线)和版本号。
Every time a new version of a message flow or message set is added to the BAR file, the name of the recently added file appends with "_" (underscore) and the version number.
正如上面提到的,put消息选项MQPMO_LOGICAL_ORDER仅是一个队列管理器指令,用于自动分配消息组标识符和序列号。
As mentioned above, the put message option MQPMO_LOGICAL_ORDER was simply an instruction to the queue manager to automatically allocate message group identifiers and sequence Numbers.
要接收任意的JMS消息作为中介流中的成员,我们必须定义表示这些消息的一组操作。
To receive any arbitrary JMS message into a mediation flow, we must define a set of operations that represents these messages.
同样地,UDDI4J解释来自uddi注册中心的响应消息,并提供一组用来访问响应消息的对象和方法。
Likewise, UDDI4J interprets response messages from a UDDI registry and presents a set of objects and methods used to access the response message.
匹配器为可以基于接口、对象路径和方法进行接收的消息指定一组规则(见后)。
Matchers specify a set of rules for messages that will be received based on interfaces, object paths, and methods (see below).
合法的用户更新消息大体包含相同的标签组。
Valid customer update messages largely contain the same set of tags.
可以通过使用多个执行组和多个消息流实例来实现此目标。
You can achieve it with multiple execution groups and multiple instances of the message flows.
启动、停止、创建和删除代理、执行组和消息流。
Start, stop, create and delete brokers, execution groups and message flows.
启动、停止、创建和删除代理、执行组和消息流。
Start, stop, create, and delete brokers, execution groups and message flows.
标识每个消息在组内的逻辑位置。
Identify the logical position of each message within the group.
接收到新的消息流时,执行组解析新的配置,然后立即更新其执行逻辑。
Upon receiving new message flows, the execution group parses the new configuration and then updates its execution logic immediately.
可能出现这样的情况,应用程序使用逻辑消息排序发送组中的开头的若干消息,然后系统出现故障。
An application may send the first few messages in a group using logical message ordering, after which the system fails.
为了测试,我开发了两组消息集:垃圾邮件和合法邮件。
For purposes of my testing, I developed two collections of messages: spam and legitimate.
于是就有了我们最初的想法:一组消息的集合,其中每条消息都有名称,以及一组类型化的参数。
Here's our first idea: a collection of messages, where each message has a name and a list of typed parameters.
服务是一组在消息数据传入时调用的操作。
A service is a set of operations called where message data is passed in.
启动、停止、创建和删除执行组和消息流。
Start, stop, create, and delete execution groups and message flows.
每个get操作都将更新get消息选项的组状态字段。
Each get updates the group status field of the get message options.
接下来,您将看到如何将验证消息分组到json组中以及如何访问这些验证消息。
Next, you'll see how to group the validation messages in a JSON group and how to access them.
如果接收到了组中的最后一条消息,则可以获取组标识符,并使用其序列号来确定组的大小。
If we receive the last message in a group, then we can obtain the group identifier and use its sequence number to determine the size of the group.
应用推荐