What it says on the tin.

    Input:  - rabbitmq_uri: A RabbitMQ URI.

    Output: - connection: A RabbitMQ connection.

def establish_rabbitmq_connection(rabbitmq_uri):
    """
    What it says on the tin.

    Input:  - rabbitmq_uri: A RabbitMQ URI.

    Output: - connection: A RabbitMQ connection.
    """
    userid, password, host, port, virtual_host, ssl = translate_rabbitmq_url(rabbitmq_uri)

    connection = Connection(userid=userid,
                            password=password,
                            host=host,
                            port=port,
                            virtual_host=virtual_host,
                            ssl=False)

    return connection