Package org.axonframework.messaging.deadletter
@NullMarked
package org.axonframework.messaging.deadletter
Part of the Axon Messaging module. Contains classes related to dead lettering.
-
ClassDescriptionContract describing the cause for
dead letteringaMessage.DeadLetter<M extends Message>Interface describing a dead letteredMessageimplementation of generic typeM.AParameterResolverFactoryconstructing aParameterResolverresolving theDeadLetterthat is being processed.Exception signaling aSequencedDeadLetterQueueis overflowing.Utility class providing a number of reasonableEnqueueDecisions.DoNotEnqueue<M extends Message>AnEnqueueDecisionstating adead lettershould not be enqueued.EnqueueDecision<M extends Message>A contract towards describing a decision among adead lettercontaining a message of typeMconcerning whether to add it to aSequencedDeadLetterQueue.EnqueuePolicy<M extends Message>GenericDeadLetter<M extends Message>Generic implementation of thedead letterallowing any type ofMessageto be dead lettered.AnEnqueueDecisionstating adead lettershould be ignored.InMemorySequencedDeadLetterQueue<M extends Message>In-memory implementation of theSequencedDeadLetterQueue.InMemorySequencedDeadLetterQueue.Builder<M extends Message>Builder class to instantiate anInMemorySequencedDeadLetterQueue.AnAxonExceptiondescribing that there is no suchdead letterpresent in aSequencedDeadLetterQueue.SequencedDeadLetterProcessor<M extends Message>Contract describing a component that can processdead lettersthat it has enqueued.SequencedDeadLetterQueue<M extends Message>Interface describing the required functionality for a dead letter queue.ShouldEnqueue<M extends Message>AnEnqueueDecisionstating adead lettershould be enqueued.Exception representing that a wrong dead letter was provided to the queue.