From 900492fb49866b5c6a46dd8f444809cb24a4965f Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Fri, 23 Aug 2019 14:21:18 +0200 Subject: Fix Binary-Status-Missing Bug ...by ensuring that the interceptor also stores messages with the element "msg:DeliveryResponse" to the repository. --- src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java | 1 + src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java | 1 + 2 files changed, 2 insertions(+) (limited to 'src/main/java/at/gv/egiz') diff --git a/src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java b/src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java index 59bfb88..431e50f 100644 --- a/src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java +++ b/src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java @@ -23,6 +23,7 @@ public class RepositoryConfig { @Bean public Map> idGenerators() { return Map.of(NameSpace.MSG_DELIVERY_REQUEST_STATUS, RequestStatusResponse::getResponseID, + NameSpace.MSG_DELIVERY_RESPONSE, RequestStatusResponse::getResponseID, NameSpace.MSG_DELIVERY_NOTIFICATION, NotificationResponse::getResponseID); } } diff --git a/src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java b/src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java index 386a7a6..23b19e7 100644 --- a/src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java +++ b/src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java @@ -16,6 +16,7 @@ public class NameSpace { public static final String DSIG = new org.w3._2000._09.xmldsig_.ObjectFactory().createCanonicalizationMethod(null).getName().getNamespaceURI(); public static final String MSG_DELIVERY_REQUEST_STATUS = MSG_FACTORY.createDeliveryRequestStatus(null).getName().getLocalPart(); + public static final String MSG_DELIVERY_RESPONSE = MSG_FACTORY.createDeliveryResponse(null).getName().getLocalPart(); public static final String MSG_DELIVERY_NOTIFICATION = MSG_FACTORY.createDeliveryNotification(null).getName().getLocalPart(); public static final String MSG_APP_DELIVERY_ID = MSG_FACTORY.createAppDeliveryID("").getName().getLocalPart(); -- cgit v1.2.3