(Quick Reference)

userId

Purpose

Sets the userId property of the message.

Examples

rabbitMessagePublisher.send {
    routingKey = "example.queue"
    userId = "foobar"
    body = "test message"
}

Description

Creating user id.