核心功能
- 将批次组整合为单个统一消息
- 针对 XML 内容基于 XPath 合并,并支持可配置的输出消息头
- 灵活的消息头处理方式(累积、保持相同或无)
概览
Batch Merge 端口接受到达发送文件夹(端口设置面板的交易选项卡)的批次组,并将批次组中的批次消息合并为单个消息。输出消息通过交易选项卡向下传递,并可以根据需要由其他端口处理。Batch Merge 端口只能接受批次组作为输入。如果端口接收到单个消息作为输入,它会抛出错误消息。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
将批次组合并为单个统一消息,支持基于 XPath 的 XML 内容合并和灵活的消息头处理选项。
| 设置 | 描述 |
|---|---|
| 端口 Id | 端口的静态唯一标识符。 |
| 端口类型 | 显示端口名称及其功能说明。 |
| 端口描述 | 可选字段,用于自由描述端口及其在流程中的作用。 |
| XPath | 合并批次消息时要使用的重复 XML 元素。有关更多详细信息,请参阅 XPath 使用示例。 |
| 输出消息头 | 定义如何将消息头从输入批次消息传输到输出消息。选项包括: None:不保留或合并消息头 Accumulate:累积所有批次消息的消息头,允许出现重复或变化 KeepSame:仅保留所有批次消息中相同的消息头 |
| 本地文件方案 | 为端口输出的消息分配文件名的方案。可以在文件名中动态使用宏,以包含标识符和时间戳等信息。有关更多信息,请参阅宏。 |
| 设置 | 描述 |
|---|---|
| 处理延迟 | 对放置在交易选项卡中的文件延迟处理的时间(以秒为单位)。这是旧版设置。最佳实践是使用 File 端口管理本地文件系统,而不是使用此设置。 |
| 设置 | 描述 |
|---|---|
| 发送 | 勾选后,端口会在批次组到达发送文件夹(交易选项卡)时自动合并批次组。如果取消勾选,则必须手动指示端口合并批次组。 |
<Orders>
<Shipping>
<Item>Paper</Item>
<Quantity>100</Quantity>
<Recurring>Yes</Recurring>
</Shipping>
<Shipping>
<Item>Eraser Bulk</Item>
<Quantity>20</Quantity>
<Recurring>No</Recurring>
</Shipping>
</Orders>
<Orders>
<Shipping>
<Item>Pencil, Box 100</Item>
<Quantity>10</Quantity>
<Recurring>Yes</Recurring>
</Shipping>
</Orders>
<Orders>
<Shipping>
<Item>Paper</Item>
<Quantity>100</Quantity>
<Recurring>Yes</Recurring>
</Shipping>
<Shipping>
<Item>Eraser Bulk</Item>
<Quantity>20</Quantity>
<Recurring>No</Recurring>
</Shipping>
<Shipping>
<Item>Pencil, Box 100</Item>
<Quantity>10</Quantity>
<Recurring>Yes</Recurring>
</Shipping>
</Orders>