contentType
Purpose
Sets the content-type property of the message.Examples
rabbitMessagePublisher.send { routingKey = "example.queue" contentType = "text/plain" body = "test message" }
The native RabbitMQ Grails plugin provides easily consumable messaging functionality.
(Quick Reference)
contentTypePurposeSets the content-type property of the message.ExamplesrabbitMessagePublisher.send { routingKey = "example.queue" contentType = "text/plain" body = "test message" } DescriptionMIME content type. |
Command LineConnection ConfigurationConsumer ConfigurationRabbit Message Publisher |