diff --git a/spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/support/CompletionMode.java b/spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/support/CompletionMode.java index 37158e8e..36fb2977 100644 --- a/spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/support/CompletionMode.java +++ b/spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/support/CompletionMode.java @@ -36,7 +36,13 @@ public enum CompletionMode { /** * Completes an {@link org.springframework.modulith.events.EventPublication} by removing the database entry. */ - DELETE; + DELETE, + + /** + * Completes an {@link org.springframework.modulith.events.EventPublication} by moving the database entry to + * an archive. + */ + ARCHIVE; public static final String PROPERTY = "spring.modulith.events.completion-mode";