Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Handle definition for a single vhost #9

Open
jakauppila opened this issue Feb 14, 2019 · 0 comments
Open

Handle definition for a single vhost #9

jakauppila opened this issue Feb 14, 2019 · 0 comments

Comments

@jakauppila
Copy link

When exporting definitions from the RabbitMQ UI, you have the ability to select a single VHOST. When you do that, the resulting definition JSON does not include the vhost key anywhere. It looks like the parsing expects the top level vhost object to be there.

Example definition when exporting the 'contoso' vhost in another example:

{
  "queues": [{
    "name": "MyQueue",
    "durable": true,
    "auto_delete": false,
    "arguments": {}
  }],
  "exchanges": [{
    "name": "MyExchange",
    "type": "headers",
    "durable": true,
    "auto_delete": false,
    "internal": false,
    "arguments": {}
  }],
  "bindings": [{
    "source": "MyExchange",
    "destination": "MyQueue",
    "destination_type": "queue",
    "routing_key": "",
    "arguments": {
      "operation": "EVENTA"
    }
  }]
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant