(Quick Reference)

port

Purpose

Sets the port number the RabbitMQ server is listening on.

Examples

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

Description

The port is required if the RabbitMQ is listening on a non-standard port. If omitted, the port defaults to 5672.