enum

LavinMQ::Shovel::Outcome

Inherits Enum < Comparable < Value < Object

The per-message disposition a Destination reports for a delivery attempt. The Destination classifies its native result (HTTP status, AMQP confirm) into one of these; the Runner decides what each one does: Confirmed - delivered; ack the source. Retry - transient failure; requeue and retry with backoff. Reject - the message is unacceptable; reject without requeue (DLX). Abort - the destination is unusable; keep the message and, past a threshold of consecutive Aborts, error-out the shovel.

Constants

Confirmed = 0
Retry = 1
Reject = 2
Abort = 3

Instance methods

abort?

Returns true if this enum value equals Abort

Source
confirmed?

Returns true if this enum value equals Confirmed

Source
reject?

Returns true if this enum value equals Reject

Source
retry?

Returns true if this enum value equals Retry

Source