Function minerva_broker::make_virtual_host
source · [−]Expand description
Creates a virtual host on RabbitMQ.
Virtual hosts are created by performing a PUT request on the management
API. If the request does not return an error, returns an optional boolean.
This result should be None
if the request was unsuccessful, or true
or false
depending on whether the virtual host was created or not.
This value is true
if the request results in a 201 status, or false
if
the result had a status of 204.