We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6539add commit 3430cccCopy full SHA for 3430ccc
1 file changed
rentplace/src/main/java/kattsyn/dev/rentplace/configs/EmailRetryProperties.java
@@ -0,0 +1,11 @@
1
+package kattsyn.dev.rentplace.configs;
2
+
3
+import jakarta.validation.constraints.NotBlank;
4
+import org.springframework.boot.context.properties.ConfigurationProperties;
5
6
+@ConfigurationProperties(prefix = "email.retry")
7
+public record EmailRetryProperties(
8
+ @NotBlank Integer maxAttempts,
9
+ @NotBlank Integer delayMs
10
+) {
11
+}
0 commit comments