Interface DeadLetter<M extends Message>

Type Parameters:
M - The type of Message represented by this interface.
All Known Implementing Classes:
GenericDeadLetter, JdbcDeadLetter, JpaDeadLetter

public interface DeadLetter<M extends Message>
Interface describing a dead lettered Message implementation of generic type M.

The time of storing the message() is kept through enqueuedAt(). The last time this letter was accessed on either

invalid reference
SequencedDeadLetterQueue#requeue(DeadLetter, UnaryOperator)
or
invalid reference
processing
, is kept in lastTouched(). Additional information on why the letter is enqueued can be found in the diagnostics.
Since:
4.6.0
Author:
Steven van Beelen, Allard Buijze