Skip to main content

JetstreamDlqHeader

@horizon-republic/nestjs-jetstream


@horizon-republic/nestjs-jetstream / JetstreamDlqHeader

JetstreamDlqHeader

Defined in: src/jetstream.constants.ts:307

Headers the transport attaches to a message when it is routed to the DLQ.

Enumeration Members​

DeadLetterReason​

DeadLetterReason: "x-dead-letter-reason"

Defined in: src/jetstream.constants.ts:309

Reason the message was sent to the DLQ: the last handler error message.


DeliveryCount​

DeliveryCount: "x-delivery-count"

Defined in: src/jetstream.constants.ts:317

Number of times the message has been delivered


FailedAt​

FailedAt: "x-failed-at"

Defined in: src/jetstream.constants.ts:315

ISO timestamp of when the message was moved to DLQ


OriginalStream​

OriginalStream: "x-original-stream"

Defined in: src/jetstream.constants.ts:313

Source stream name


OriginalSubject​

OriginalSubject: "x-original-subject"

Defined in: src/jetstream.constants.ts:311

Original NATS subject the message was originally published to