aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/moazs/service
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs/service')
-rw-r--r--src/main/java/at/gv/egiz/moazs/service/MzsService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/service/MzsService.java b/src/main/java/at/gv/egiz/moazs/service/MzsService.java
index 9d7cdb1..d9c81f3 100644
--- a/src/main/java/at/gv/egiz/moazs/service/MzsService.java
+++ b/src/main/java/at/gv/egiz/moazs/service/MzsService.java
@@ -62,7 +62,7 @@ public class MzsService implements App2MzsPortType {
"with AppDeliveryID=%s.";
private static final String RESPONSE_MISSING_ERROR_MSG = "Could not get a response for AppDeliveryID=%s.";
private static final String SERVICE_TIME_OUT_REACHED_MSG = "Backend processing for DeliveryRequest with " +
- "AppDeliveryID=%s timed out. ";
+ "AppDeliveryID={} timed out. ";
private final DeliveryRepository repository;
private final Consumer<String> backend;
@@ -136,7 +136,7 @@ public class MzsService implements App2MzsPortType {
private DeliveryResponseType applySinkHubToAsyncResponse(String appDeliveryID, DeliveryRequestType request,
CompletableFuture<RequestStatusResponse> requestProcessed) {
- log.info(format(SERVICE_TIME_OUT_REACHED_MSG, appDeliveryID));
+ log.info(SERVICE_TIME_OUT_REACHED_MSG, appDeliveryID);
var sinkParams = request.getConfig().getMsgResponseSinks();
requestProcessed.thenAcceptAsync(response -> hub.applySinks(response, sinkParams));