mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-05-14 05:24:21 +00:00
update docs for route changes
This commit is contained in:
@@ -4,11 +4,10 @@ sidebar:
|
||||
order: 3
|
||||
---
|
||||
|
||||
Routes take the messages coming from a module and push them out another module. The message can be optionally "processed" with any number of processor steps.
|
||||
Routes take the messages coming from a module and push them through a list of [processors](/concepts/processors). Having no processors is valid but serves no real purpose and is basically a no-op.
|
||||
|
||||
## YAML Definition
|
||||
- **input**: the id of the [module](/concepts/modules) that will provide messages to this route
|
||||
- **processors**: (optional) array of [processors](/concepts/processors) that will be called in order and the result of the previous will be fed to the next processor.
|
||||
- if at any point the output of a processor is `nil` the entire route will be terminated (subject to change to support output `nil` values?)
|
||||
- an error in a processor step will also result in the route being terminated
|
||||
- **output**: the id of the [module](/concepts/modules) that will consume messages from the route
|
||||
- if at any point the output of a processor is `nil` the entire route will be terminated (subject to change to support passing through `nil` values?)
|
||||
- an error in a processor step will result in the individual route being terminated
|
||||
Reference in New Issue
Block a user