exchange
Purpose
Set the exchange to subscribe to.Examples
static rabbitConfig = [ exchange: "example.exchange" ]
The native RabbitMQ Grails plugin provides easily consumable messaging functionality.
(Quick Reference)
exchangePurposeSet the exchange to subscribe to.Examplesstatic rabbitConfig = [ exchange: "example.exchange" ] DescriptionTells the plugin that the consumer should subscribe to an exchange. The exchange must already exist for the consumer to beging listening to it. Exchanges can be created externally from the application, or via the application's RabbitMQ configuration. Note that a routing key might be necessary depending on the type of exchange is specified. |
Command LineConnection ConfigurationConsumer ConfigurationRabbit Message Publisher |