Uses of Interface
org.springframework.modulith.events.AbandonPolicy
Packages that use AbandonPolicy
Package
Description
API of the event publication registry abstraction.
Spring configuration for the Event Publication Registry.
The event publication registry abstraction.
-
Uses of AbandonPolicy in org.springframework.modulith.events
Methods in org.springframework.modulith.events with parameters of type AbandonPolicyModifier and TypeMethodDescriptionvoidFailedEventPublications.applyAbandonPolicy(AbandonPolicy policy) Applies the givenAbandonPolicy-- instead of the globally configured ones -- to all currently failedEventPublications, marking the ones it decides to give up on asEventPublication.Status.ABANDONED. -
Uses of AbandonPolicy in org.springframework.modulith.events.config
Method parameters in org.springframework.modulith.events.config with type arguments of type AbandonPolicyModifier and TypeMethodDescription(package private) static AbandonPoliciesEventPublicationAutoConfiguration.abandonPolicies(ObjectProvider<AbandonPolicy> userPolicies, ResubmissionProperties properties) -
Uses of AbandonPolicy in org.springframework.modulith.events.core
Methods in org.springframework.modulith.events.core with parameters of type AbandonPolicyModifier and TypeMethodDescriptionvoidDefaultEventPublicationRegistry.applyAbandonPolicy(@Nullable AbandonPolicy override) voidDefaultFailedEventPublications.applyAbandonPolicy(AbandonPolicy policy) voidEventPublicationRegistry.applyAbandonPolicy(@Nullable AbandonPolicy override) Applies an abandon decision to all currentlyEventPublication.Status.FAILEDEventPublications, marking the ones the effectiveAbandonPolicydecides to give up on asEventPublication.Status.ABANDONED.AbandonPolicies.withPolicy(AbandonPolicy policy) Returns a newAbandonPoliciesthat uses only the givenAbandonPolicyinstead of the configured user-supplied ones, while retaining the framework-provided default as the fallback forAbandonPolicy.Decision.DEFAULTdecisions.Constructor parameters in org.springframework.modulith.events.core with type arguments of type AbandonPolicyModifierConstructorDescriptionAbandonPolicies(List<AbandonPolicy> userPolicies, Predicate<EventPublication> defaultPolicy) Creates a newAbandonPoliciesfor the given user-suppliedAbandonPolicyinstances and default policy.