Uses of Class
org.springframework.modulith.events.ResubmissionOptions
-
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.