This transformer is processing text data before sending it to next transformer or to final recipient. If the data contains specified text, the reply (response) is sent to the sender channel in text format.
This transformer will not work correctly with binary data.
It is highly recommended to add Text data blocks splitter transformer before this one.
Be careful to not intoduce infinite response loop by adding corresponding response transformers to both devices!
The response will be sent directly to source, bypassing all source flow transformers.
Text Responder transformer properties:
- Enabled (boolean). If enabled, transformer will be used for data processing.
- Case sensitive (boolean). If set, filtering is case-sensitive.
- Condition - one of the following:
- Contains string: the data should contain Value.
- Equals string: the data should be equal to Value.
- Regex match: Value is regex expression matched against the data.
- Value (string): Value to be used for condition.
- Response (string): text which will be sent to the sender if Include filter condition is met. If the response is not specified, but Discard data is set, the data will be discarded without response.
- Discard data (boolean): if enabled, all processed data will be discarded on match. For example, it can be used to quickly reject not-supported commands and produce response.
- Enabled: yes
- Mode: Contains string
- Value: TEST
- Response: ACK
- Enabled: yes
- Mode: Equals string
- Value: FOX
- Response: ACK
- See also:
-