Package eu.vstoyanov.natsy.codec
Object DecodeErrorStrategy.SkipAndLog
-
- All Implemented Interfaces:
-
eu.vstoyanov.natsy.codec.DecodeErrorStrategy
public class DecodeErrorStrategy.SkipAndLog implements DecodeErrorStrategy
Log a warning and drop the message (the default).
On JetStream the message is also terminated, so the server stops redelivering it - a payload no codec can read will not decode any better on the next attempt, and leaving it unacknowledged would replay it every
ackWaitfor as long as the consumer exists.
-
-
Field Summary
Fields Modifier and Type Field Description public final static DecodeErrorStrategy.SkipAndLogINSTANCE
-