Skip to content
Snippets Groups Projects
Commit 12f383b9 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

#5 send: Conditionally enable FacadeService

parent 0315fb99
No related branches found
No related tags found
1 merge request!5Resolve "Senden von Nachrichten"
Pipeline #1353 passed
This commit is part of merge request !5. Comments created here will be created in the context of that merge request.
......@@ -2,6 +2,7 @@ package de.ozgcloud.nachrichten.postfach.osiv2.transfer;
import java.util.stream.Stream;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;
import de.ozgcloud.nachrichten.postfach.PostfachNachricht;
......@@ -10,6 +11,7 @@ import lombok.extern.log4j.Log4j2;
@Log4j2
@Service
@ConditionalOnProperty("ozgcloud.osiv2-postfach.enabled")
public record PostfachApiFacadeService(
MessageExchangeApi messageExchangeApi,
RequestMapper requestMapper,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment