This will parse the uri into smaller pieces that can be used to talk to the rest endpoint for RabbitMQ.

rabbitmq_parse_uri(uri, prefix = "", port = 15672)

Arguments

uri

the amqp URI

prefix

the prefix that the RabbitMQ managmenet interface uses

port

the port for rabbitmq managment interface

Value

a list that contains the url to the mangement interface, username password and vhost.