(Quick Reference)

username

Purpose

Sets the username to use when connecting to the RabbitMQ server.

Examples

rabbitmq {
    connection = {
        connection(
            host: "rabbit.example.com",
            username: "foo",
            password: "bar"
        )
    }
}

Description

The username is required to connect to the RabbitMQ server.