Skip to content

amqpx v1.0.1


amqpx / index / ConsumptionFailureStrategy

Enumeration: ConsumptionFailureStrategy

Defined in: src/consumer/types.ts:8

How to handle Rabbit message when the processing fails (throws error).

Enumeration Members

Enumeration MemberValueDescriptionDefined in
Drop"Drop"Acknowledges the message as successfully processed even when the handler throws.src/consumer/types.ts:12
Reject"Reject"Message is rejected and moved into dead letter queue if configured on the consuming queue.src/consumer/types.ts:20
Requeue"Requeue"Rejects the message and returns it to the queue, so a different consumer can process it again.src/consumer/types.ts:16

Released under the MIT License.