implemented scheduled worker that processes queued notifications
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package SuMoC.backend.notification.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "sumoc.notification")
|
||||
public class NotificationProperties {
|
||||
/**
|
||||
* Maximum number of failed send attempts before giving up on a notification.
|
||||
*/
|
||||
private int maxFailedSendAttempts = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user