(Quick Reference)

priority

Purpose

Sets the priority of the message.

Examples

rabbitMessagePublisher.send {
    routingKey = "example.queue"
    priority = 5
    body = "test message"
}

Description

Message priority, 0 to 9.