(Quick Reference)

contentType

Purpose

Sets the content-type property of the message.

Examples

rabbitMessagePublisher.send {
    routingKey = "example.queue"
    contentType = "text/plain"
    body = "test message"
}

Description

MIME content type.