Xbus routing
============
Provides actors that route messages to different outputs based on the data
inside the payload.
Services
--------
``routing.imperative-router``
'''''''''''''''''''''''''''''
Imperative router extract an output name from the message content and send the
envelope to this output.
Settings:
- ``extract-output-jq``: A jq_ program that produces a string value from the
message content.
Example:
With this sample configuration, the imperative router will use the value of the
"output" field of the message content.
.. code-block:: yaml
service:
type: routing.imperative-router
settings:
extract-output-jq: .output
``routing.table-router``
'''''''''''''''''''''''''
Table router extract a key from the message content, then lookup in a routing
table to find the output name.
The routing table can be managed externaly or maintained by the table updater
actor.
Settings:
- ``extract-key-jq``: A jq_ program that produces a string value from the
message content.
- ``store.backend``: The backend to use for storing the routing table.
See below for the available backends.
- ``store.