Message Bus Reply#
The Message Bus Reply task will reply back to a message bus message that awaits a reply. This task should be used with the Message Bus Listener task.
Inputs#
| Name | Data Type | Description |
|---|---|---|
| Reply | Object | Message to reply back to the message bus request |
| Activate | any | Activates the task |
Outputs#
| Name | Data Type | Description |
|---|---|---|
| Success | Boolean | If there was no problem emits a true |
| Error | Error | Error that occurred during the processing of this task |
Settings#
| Name | Data Type | Default | Description |
|---|---|---|---|
| Default Reply | Object | {} | Default Message to reply back to the message bus request, sent when Reply received no value since the previous activation |
Behavior#
The Message Bus Reply task will reply back to a message bus message received in its execution context. This task should be used with the Message Bus Listener task.
Remarks#
A reply that is an object is sent as it is. Any other value is sent as {"reply": <value>}, and text that holds JSON is parsed first, so '{"a":1}' is sent as {"reply": {"a": 1}}.
