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 ackWait for as long as the consumer exists.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail