Class DefaultDeadLetterJdbcConverter<E extends EventMessage<?>>

java.lang.Object
org.axonframework.eventhandling.deadletter.jdbc.DefaultDeadLetterJdbcConverter<E>
Type Parameters:
E - An implementation of EventMessage contained within the JdbcDeadLetter implementation this converter converts.
All Implemented Interfaces:
DeadLetterJdbcConverter<E,JdbcDeadLetter<E>>

public class DefaultDeadLetterJdbcConverter<E extends EventMessage<?>> extends Object implements DeadLetterJdbcConverter<E,JdbcDeadLetter<E>>
Default implementation of the DeadLetterJdbcConverter, converting ResultSets into JdbcDeadLetter instances.

This converter expects a DeadLetterSchema to define the column names / labels used to retrieve the fields from the ResultSet. Furthermore, it uses the configurable genericSerializer to deserialize TrackingTokens for TrackedEventMessage instances. Lastly, this factory uses the eventSerializer to deserialize the event payload, MetaData, and diagnostics for the JdbcDeadLetter to return.

Since:
4.8.0
Author:
Steven van Beelen