Class JdbcSequencedDeadLetterQueue.Builder<E extends EventMessage<?>>

java.lang.Object
org.axonframework.eventhandling.deadletter.jdbc.JdbcSequencedDeadLetterQueue.Builder<E>
Type Parameters:
E - The type of EventMessage maintained in the dead letter of this SequencedDeadLetterQueue.
Enclosing class:
JdbcSequencedDeadLetterQueue<E extends EventMessage<?>>

public static class JdbcSequencedDeadLetterQueue.Builder<E extends EventMessage<?>> extends Object
Builder class to instantiate an JdbcSequencedDeadLetterQueue.

The following defaults are set by the builder:

The processing group, ConnectionProvider, and TransactionManager are hard requirements and should be provided.

The statementFactory(DeadLetterStatementFactory) and converter(DeadLetterJdbcConverter) are also hard requirements, but users can choose to either set both explicitly or rely on the DefaultDeadLetterStatementFactory and DefaultDeadLetterJdbcConverter constructed through the generic Serializer and event Serializer.