diff --git a/goofy-server/src/main/java/de/itvsh/goofy/postfach/PostfachMailService.java b/goofy-server/src/main/java/de/itvsh/goofy/postfach/PostfachMailService.java index 789ebe855ae3446f964e90868a9ace0def327e1a..2e9ad0fe15eb7b8f53dc074b29d7d2bef95f770b 100644 --- a/goofy-server/src/main/java/de/itvsh/goofy/postfach/PostfachMailService.java +++ b/goofy-server/src/main/java/de/itvsh/goofy/postfach/PostfachMailService.java @@ -4,7 +4,6 @@ import java.util.Objects; import java.util.stream.Stream; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.scheduling.annotation.Async; import org.springframework.stereotype.Service; import de.itvsh.goofy.common.errorhandling.ResourceNotFoundException; @@ -19,7 +18,8 @@ class PostfachMailService { @Autowired private PostfachMailRemoteService remoteService; - @Async + // TODO reenable async +// @Async public void sendPostfachMail(String commandId, PostfachMail postfachMail) { try { remoteService.sendPostfachMail(commandId, postfachMail); @@ -39,7 +39,8 @@ class PostfachMailService { } - @Async + // TODO reenable async +// @Async public void resendPostfachMail(String commandId, String postfachMailId) { try { remoteService.resendPostfachMail(commandId, postfachMailId);