Uses of Class
org.axonframework.eventhandling.deadletter.jpa.JpaSequencedDeadLetterQueue.Builder
Packages that use JpaSequencedDeadLetterQueue.Builder
-
Uses of JpaSequencedDeadLetterQueue.Builder in org.axonframework.eventhandling.deadletter.jpa
Methods in org.axonframework.eventhandling.deadletter.jpa that return JpaSequencedDeadLetterQueue.BuilderModifier and TypeMethodDescriptionJpaSequencedDeadLetterQueue.Builder.addConverter(DeadLetterJpaConverter<EventMessage<?>> converter) Adds aDeadLetterJpaConverterto the configuration, which is used to deserialize dead-letter entries from the database.static <M extends EventMessage<?>>
JpaSequencedDeadLetterQueue.Builder<M> JpaSequencedDeadLetterQueue.builder()Creates a new builder, capable of building aJpaSequencedDeadLetterQueueaccording to the provided configuration.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.clearConverters()Removes all current converters currently configured, including the defaultEventMessageDeadLetterJpaConverter.JpaSequencedDeadLetterQueue.Builder.entityManagerProvider(EntityManagerProvider entityManagerProvider) Sets theEntityManagerProviderwhich provides theEntityManagerused to access the underlying database for thisJpaSequencedDeadLetterQueueimplementation.JpaSequencedDeadLetterQueue.Builder.eventSerializer(Serializer serializer) Sets theSerializerto (de)serialize the event payload, event metadata, and diagnostics of theDeadLetterwhen storing it to the database.JpaSequencedDeadLetterQueue.Builder.genericSerializer(Serializer serializer) Sets theSerializerto (de)serialize the tracking token of the event in theDeadLetterwhen storing it to the database.JpaSequencedDeadLetterQueue.Builder.maxSequences(int maxSequences) Sets the maximum number of unique sequences thisSequencedDeadLetterQueuemay contain.JpaSequencedDeadLetterQueue.Builder.maxSequenceSize(int maxSequenceSize) Sets the maximum amount oflettersper unique sequences thisSequencedDeadLetterQueuecan store.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.queryPageSize(int queryPageSize) Modifies the page size used when retrieving a sequence of dead letters.JpaSequencedDeadLetterQueue.Builder.serializer(Serializer serializer) Sets theSerializerto (de)serialize the event payload, event metadata, tracking token, and diagnostics of theDeadLetterwhen storing it to the database.JpaSequencedDeadLetterQueue.Builder.transactionManager(TransactionManager transactionManager) Sets theTransactionManagerused to manage transaction around fetching event data.Constructors in org.axonframework.eventhandling.deadletter.jpa with parameters of type JpaSequencedDeadLetterQueue.BuilderModifierConstructorDescriptionprotectedInstantiate a JPASequencedDeadLetterQueuebased on the givenbuilder.