This transformer is highly recommended to use in "many writers" scenario to avoid write conflicts.
Result output is always single chunk of data (no multiple outputs are generated compared to other transformers like Binary data blocks splitter transformer).
Example of such conflict when 2 clients are writing in parallel:
- Client 1 is sending "h", "e", "l", "l", "o", "!"
- Client 2 is sending "h", "e", "l", "l", "o", "!"
- Result may look like this: "hehlelllo!o!"
To avoid that, add this transformer before write with "End marker"="!".
Transformer properties:
- Enabled (boolean). If enabled, transformer will be used for data processing.
- Read only (boolean). If set as read only, the transformer will not send any data to next recipient.
- Binary format (boolean). If set, start and end markers are representing hex bytes.
- Start marker: optional. If not empty, transformer will make sure that all bytes before this marker are discarded and will not be processed.
- End marker: characters/bytes which define complete packet end. Please note that if multiple end markers are found, the last marker position will be used.
Hex strings can be defined in any of the following formats:
- 0x11 0xaa 0xbb
- 11 aa bb
- 11 AA bB
- 11aabb
Binary format: no
End marker: ;
Example:
Example:
- Input: FA;FA;
- Output: FA;FA;
Example:
Example:
- Input1: F
- Input2: A
- Input3: ;
- Output: FA;
Binary format: yes
Start marker: 00 00
End marker: FF FF
Example:
- Input: 00 00 FF FF
- Output: 00 00 FF FF
- Input: AA 00 00 FF FF 00 00 FF
- Output: 00 00 FF FF