Add additional data to the message that is going to be stored

Param

Messaging transport related metadata

Param

Define if the message must be sent in the sequential order it was added or if it can be sent in parallel with others.

Param

The date and time in ISO 8601 "internet time" UTC format (e.g. "2023-10-17T11:48:14Z") until when the message cannot be sent out

Param

Can be set to allow processing of messages with different segments in parallel.

Param

The create date of the message if it is available.

Param

The unique ID of the message. If not specified - random UUID will be used

Hierarchy

Properties

aggregateId: string
concurrency?: "sequential" | "parallel"
createdAt?: string
lockedUntil?: string
messageId: string
messagingSettings: Pick<MessagingSettings, "messageType" | "aggregateType">
payload: unknown
segment?: string

Generated using TypeDoc