ezgh hosted-queues exchanges create <cluster> <name> --type t [--vhost v] [--durable=false] [--arguments json] [--wait] [flags]Create an exchange: --type direct, fanout, topic, headers or a plugin’s x- type.
Part of ezgh hosted-queues exchanges.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--arguments |
string | exchange arguments as a JSON object, such as {“alternate-exchange”: “unrouted”} | |
--durable |
boolean | true |
survive a broker restart (--durable=false for transient) |
--type |
string | direct, fanout, topic, headers or a plugin’s x- type | |
--vhost |
string | / |
the vhost it’s in (/ is the default vhost) |
--wait |
boolean | wait until it’s done | |
--wait-timeout |
duration | 10m0s |
how long --wait waits |
This command also takes the global flags.