Package | Description |
---|---|
org.axonframework.eventhandling.deadletter.jpa |
Modifier and Type | Method and Description |
---|---|
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.addConverter(DeadLetterJpaConverter<EventMessage<?>> converter)
Adds a
DeadLetterJpaConverter to the configuration, which is used to deserialize dead-letter entries
from the database. |
static <M extends EventMessage<?>> |
JpaSequencedDeadLetterQueue.builder()
Creates a new builder, capable of building a
JpaSequencedDeadLetterQueue according to the provided
configuration. |
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.claimDuration(Duration claimDuration)
Sets the claim duration, which is the time a message gets locked when processing and waiting for it to
complete.
|
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.clearConverters()
Removes all current converters currently configured, including the default
EventMessageDeadLetterJpaConverter . |
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.entityManagerProvider(EntityManagerProvider entityManagerProvider)
Sets the
EntityManagerProvider which provides the EntityManager used to access the underlying
database for this JpaSequencedDeadLetterQueue implementation. |
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.eventSerializer(Serializer serializer)
Sets the
Serializer to (de)serialize the event payload,
event metadata, and diagnostics of the DeadLetter when storing it to the database. |
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.genericSerializer(Serializer serializer)
Sets the
Serializer to (de)serialize the tracking token of the event in
the DeadLetter when storing it to the database. |
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.maxSequences(int maxSequences)
Sets the maximum number of unique sequences this
SequencedDeadLetterQueue may contain. |
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.maxSequenceSize(int maxSequenceSize)
Sets the maximum amount of
letters per unique sequences this
SequencedDeadLetterQueue can store. |
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.processingGroup(String processingGroup)
Sets the processing group, which is used for storing and querying which event processor the deadlettered item
belonged to.
|
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.queryPageSize(int queryPageSize)
Modifies the page size used when retrieving a sequence of dead letters.
|
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.serializer(Serializer serializer)
Sets the
Serializer to (de)serialize the event payload,
event metadata, tracking token, and diagnostics of the DeadLetter when storing it to the database. |
JpaSequencedDeadLetterQueue.Builder<T> |
JpaSequencedDeadLetterQueue.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage transaction around fetching event data. |
Constructor and Description |
---|
JpaSequencedDeadLetterQueue(JpaSequencedDeadLetterQueue.Builder<T> builder)
Instantiate a JPA
SequencedDeadLetterQueue based on the given builder . |
Copyright © 2010–2024. All rights reserved.