java.lang.Object
org.axonframework.messaging.eventhandling.deadletter.jpa.JpaDeadLetter<M>
Type Parameters:
M - The EventMessage type of the contained message.
All Implemented Interfaces:
DeadLetter<M>

public class JpaDeadLetter<M extends EventMessage> extends Object implements DeadLetter<M>
A DeadLetter that was saved to the database and reconstructed from it. This object is immutable and should only be changed using the withCause(Throwable), withDiagnostics(Metadata) and markTouched() functions. These reconstruct a new object with the specified new properties.
Since:
4.6.0
Author:
Mitchell Herrijgers