DeadLetterEntry
DeadLetterEntry =
object
Defined in: src/deadletters/DeadLetterEntry.ts:44
One captured dead letter, as DeadLetterQueue.list returns it.
Properties
Section titled “Properties”
readonlyid:string
Defined in: src/deadletters/DeadLetterEntry.ts:46
Stable identity, assigned at capture and preserved across a restart.
payload
Section titled “payload”
readonlypayload:DeadLetterPayload
Defined in: src/deadletters/DeadLetterEntry.ts:53
recipientPath
Section titled “recipientPath”
readonlyrecipientPath:string
Defined in: src/deadletters/DeadLetterEntry.ts:50
Path of the actor the message failed to reach.
replayCount
Section titled “replayCount”
readonlyreplayCount:number
Defined in: src/deadletters/DeadLetterEntry.ts:64
How many times this letter has already been replayed and come back.
Not a diagnostic afterthought: a replayed message that fails again
returns to the queue, and without carrying the count forward it would
arrive as a new entry with a new id, so an operator retrying a poison
message would grow the queue one entry per attempt while every
individual retry looked like a first one. maxReplays is checked
against this.
senderPath
Section titled “senderPath”
readonlysenderPath:string|null
Defined in: src/deadletters/DeadLetterEntry.ts:52
Path of the sender, or null when the send carried none.
timestampMs
Section titled “timestampMs”
readonlytimestampMs:number
Defined in: src/deadletters/DeadLetterEntry.ts:48
Wall-clock capture time, in epoch milliseconds.
