Hermes MySQL
    Preparing search index...

    Type Alias HermesMessageEnvelope<Message>

    A message given to publish.

    type HermesMessageEnvelope<Message extends JSONValue> = {
        message: Message;
        messageId: string;
        messageType: string;
        partitionKey: string;
        position: string;
        redeliveryCount: number;
    }

    Type Parameters

    Index
    message: Message

    The payload of the message.

    messageId: string

    The unique identifier of the message.

    messageType: string

    The type of the message.

    partitionKey: string

    The partition of the message.

    position: string

    The auto-increment position of the message in the hermes_outbox table.

    redeliveryCount: number

    The number of failed attempts to publish the message (0 for the first one).