headers
Purpose
Attached headers to send with the message.Examples
rabbitMessagePublisher.send { routingKey = "example.queue" headers = [ "header1": "foo", "header2": "bar" } body = "test message" }
The native RabbitMQ Grails plugin provides easily consumable messaging functionality.
(Quick Reference)
headersPurposeAttached headers to send with the message.ExamplesrabbitMessagePublisher.send { routingKey = "example.queue" headers = [ "header1": "foo", "header2": "bar" } body = "test message" } DescriptionThe headers property is simply a map with key/value pairs for the header names and their values. |
Command LineConnection ConfigurationConsumer ConfigurationRabbit Message Publisher |