(Quick Reference)

binding

Purpose

Set the binding criteria to use when subscribing to an exchange.

Examples

static rabbitConfig = [
    exchange: "example.exchange",
    binding: "example.routing.key"
]

Description

The binding criteria may be necessary depending on the type of exchange is being subscribed to. This property is ignored when consuming from a queue. See the guide for more information on this property's usage.