connection
Purpose
Sets which connection should be used to send the message to.Examples
rabbitMessagePublisher.send { exchange = "example.exchange" routingKey = "example.topic" body = "message" connection = "server1" }
The native RabbitMQ Grails plugin provides easily consumable messaging functionality.
(Quick Reference)
connectionPurposeSets which connection should be used to send the message to.ExamplesrabbitMessagePublisher.send { exchange = "example.exchange" routingKey = "example.topic" body = "message" connection = "server1" } DescriptionThe connection property is used to specify which server to send a message with in a multi-server configuration. If the connection is omitted, the default connection will be used. |
Command LineConnection ConfigurationConsumer ConfigurationRabbit Message Publisher |