Uses of Class
org.springframework.modulith.events.ResubmissionOptions
Packages that use ResubmissionOptions
Package
Description
API of the event publication registry abstraction.
The event publication registry abstraction.
Spring Framework extensions to integrate the event publication registry.
-
Uses of ResubmissionOptions in org.springframework.modulith.events
Methods in org.springframework.modulith.events that return ResubmissionOptionsModifier and TypeMethodDescriptionstatic ResubmissionOptionsResubmissionOptions.defaults()Creates a newResubmissionOptionswith no bound for in-flight publications, a batch size of 100, no minimum age and including allEventPublicationinstances.ResubmissionOptions.withBatchSize(int batchSize) Configures the batch size with which to read publications from the database.ResubmissionOptions.withFilter(Predicate<EventPublication> filter) Configures whichEventPublications to resubmit in a re-submission attempt.ResubmissionOptions.withMaxInFlight(int maxInFlight) Configures the number of publications that are supposed to be in flight concurrently.ResubmissionOptions.withMinAge(Duration minAge) Configures the minimum age of event publications to qualify for re-submission.Methods in org.springframework.modulith.events with parameters of type ResubmissionOptionsModifier and TypeMethodDescriptionvoidFailedEventPublications.resubmit(ResubmissionOptions options) Initiate the re-submission of failedEventPublicationaccording to the givenResubmissionOptions.voidIncompleteEventPublications.resubmitIncompletePublications(ResubmissionOptions options) Triggers the re-submission of incompleteEventPublications matching the givenResubmissionOptions. -
Uses of ResubmissionOptions in org.springframework.modulith.events.core
Methods in org.springframework.modulith.events.core with parameters of type ResubmissionOptionsModifier and TypeMethodDescriptionvoidDefaultEventPublicationRegistry.processFailedPublications(ResubmissionOptions options, Consumer<TargetEventPublication> consumer) voidEventPublicationRegistry.processFailedPublications(ResubmissionOptions options, Consumer<TargetEventPublication> consumer) Processes all failedEventPublications matching the givenResubmissionOptionswith the givenConsumer. -
Uses of ResubmissionOptions in org.springframework.modulith.events.support
Methods in org.springframework.modulith.events.support with parameters of type ResubmissionOptionsModifier and TypeMethodDescriptionvoidPersistentApplicationEventMulticaster.resubmit(ResubmissionOptions options) voidPersistentApplicationEventMulticaster.resubmitIncompletePublications(ResubmissionOptions options)