Skip to content

AMQP 0-9-1 channel binding

Contains information about the channel representation in AMQP.

Structure

copy

Examples

Routing Key

json
{
  "is": "routingKey", 
  "exchange": {
    "name": "myExchange",
    "type": "topic",
    "durable": true,
    "autoDelete": false,
    "vhost": "/"
  },
  "bindingVersion": "0.2.0"
}

Queue

json
{
  "is": "queue", 
  "queue": {
    "name": "my-queue-name",
    "durable": true,
    "exclusive": true,
    "autoDelete": false,
    "vhost": "/"
  },
  "bindingVersion": "0.2.0"
}

Migration guide

Added

vhost

The virtual host of the exchange or queue. Defaults to /.

json
{
    "vhost": { 
      "type": "string", 
      "default": "/", 
      "description": "The virtual host of the exchange. Defaults to '/'."
    } 
}