Skip to content

Commit 3430ccc

Browse files
committed
feat: EmailRetryProperties
1 parent 6539add commit 3430ccc

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)