Skip to main content

CData Arc では、データは本文(body)とメタデータヘッダーで構成されるメッセージとしてフロー内を移動します。例えば、あるコネクタが別のコネクタにファイルを渡す場合、そのファイルは本文にファイルを含み、ヘッダーにファイルや関連コネクタに関するメタデータを含むメッセージとして送信されます。メッセージはバッチグループにまとめることができ、これにより複数のメッセージが単一の単位としてまとめて移動できます。バッチグループの用途には、システム間でのデータ移動や、複数の発注書の一括処理などがあります。メッセージがバッチグループの一部である場合、それはバッチメッセージと呼ばれます。

Key Capabilities

  • Consolidates batch groups into a single unified message
  • XPath-based merging for XML content with configurable output headers
  • Flexible header handling (accumulate, keep same, or none)

Overview

The Batch Merge connector accepts a Batch Group that arrives in the Send folder (the Transactions tab of the connector settings pane) and merges the Batch Messages in the Batch Group into a single Message. The output Message passes down the flow through the Transactions tab, and it can be processed by other connectors as needed.
The Batch Merge connector can only accept Batch Groups as inputs. If the connector receives an individual message as an input, it throws an error message.

Connector Configuration

This section contains all of the configurable connector properties.

Settings Tab

Configuration

Settings that determine how the connector can be accessed.

Advanced Tab

Logging

ログの作成と保存を制御する設定です。

設定説明
Log Levelコネクタが生成するログの詳細度です。サポートを依頼する際は、これをDebug に設定してください。
Log Subfolder Scheme選択した間隔に従って、コネクタがLogs フォルダ内のファイルをグループ化するよう指示します。Weekly オプション(デフォルト)は、コネクタが毎週新しいサブフォルダを作成し、その週のすべてのログをそのフォルダに保存するよう指示します。この設定を空白のままにすると、コネクタはすべてのログをLogs フォルダに直接保存します。多数のトランザクションを処理するコネクタでは、サブフォルダを使用することでログを整理しやすくなり、パフォーマンスが向上します。
Log Messages処理したファイルのログエントリにファイル自体のコピーを含めるには、これをオンにします。これを無効にすると、Transactions タブからファイルのコピーをダウンロードできなくなる場合があります。

Other Settings

Miscellaneous

Miscellaneous 設定は、特定のユースケース向けの設定です。

設定説明
Other Settings非表示のコネクタ設定をセミコロン区切りのリストで設定できます(例:setting1=value1;setting2=value2)。通常のコネクタのユースケースや機能では、これらの設定の使用は必要ありません。

Automation Tab

Automation Settings

Performance

コネクタへのリソースの割り当てに関する設定です。

設定説明
Max Workersこのコネクタでファイルを処理するためにスレッドプールから消費されるワーカースレッドの最大数です。設定すると、Advanced Settings ページのPerformance Settings 部分にあるデフォルト設定が上書きされます。
Max Filesコネクタに割り当てられた各スレッドが送信するファイルの最大数です。設定すると、Advanced Settings ページのPerformance Settings 部分にあるデフォルト設定が上書きされます。

Alerts Tab

SLAs Tab

XPath Usage Example

The example below shows a simple XML tree of a Batch Message:
The example below shows a similar, separate Batch Message in the same Batch Group:
If you set the value for XPath to /Orders/Shipping, the output message would merge like this:

Macros

Examples