(Quick Reference)

connection

Purpose

Sets which connection should be used to consume messages from.

Examples

static rabbitConfig = [
    queue: "foobar",
    connection: "server1"
]

Description

The connection property should be used in multi-server configurations to specify which connection should be used to consume messages from. If the connection property is omitted, the default connection will be used.