binding (amqp) 🚧
Zilla runtime amqp binding (incubator)
Defines a binding with
amqp 1.0
protocol support, with server
behavior.The
server
kind amqp
binding decodes amqp 1.0
protocol on the inbound network stream, producing higher level application streams for each send
or receive
link
.Conditional routes based on the
link
address
are used to route these application streams to an exit
binding."amqp_server0":
{
"type" : "amqp",
"kind": "server",
"routes":
[
{
"when":
[
{
"address": "echo",
"capabilities": "send_and_receive"
}
],
"exit": "echo_server0"
}
]
}
Binding with support for
amqp 1.0
protocol.Name (* = required) | Type | Description |
---|---|---|
type * | const "amqp" | Support amqp 1.0 protocol |
kind * | enum [ "server" ] | Behave as an amqp 1.0 server |
routes | Conditional amqp -specific routes | |
exit | string | Default exit binding when no conditional routes are viable |
Routes for
amqp 1.0
protocol.Name (* = required) | Type | Description |
---|---|---|
guarded | object as named map of string array | List of roles required by each named guard to authorize this route |
when | List of conditions (any match) to match this route | |
exit * | string | Next binding when following this route |
Conditions to match routes for
amqp 1.0
protocol.Name (* = required) | Type | Description |
---|---|---|
address | string | Link address |
capabilities | enum [
"send_only",
"receive_only",
"send_and_receive" ] | Send or receive, or both.
Defaults to send_and_receive . |
Last modified 10mo ago