Interface XDeath

An object representing the dead-letter information of a message.

Hierarchy

  • XDeath

Properties

count: number

The number of times the message has been rejected or expired.

exchange: string

The name of the exchange where the message was dead-lettered.

original-expiration?: any

The original expiration time of the message.

queue: string

The name of the queue where the message was dead-lettered.

reason: "rejected" | "expired" | "maxlen"

The reason for the message being dead-lettered.

routing-keys: string[]

The routing keys of the message.

time: {
    !: "timestamp";
    value: number;
}

The timestamp of when the message was dead-lettered.

Type declaration

  • !: "timestamp"

    The type of the timestamp.

  • value: number

    The value of the timestamp.