(Quick Reference)

expiration

Purpose

Sets the expiration property of the message.

Examples

rabbitMessagePublisher.send {
    routingKey = "example.queue"
    expiration = "Tuesday, October 22nd 2013"
    body = "test message"
}

Description

Message expiration specification.