aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/moazs
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-08-23 14:21:18 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-08-23 15:17:14 +0200
commit900492fb49866b5c6a46dd8f444809cb24a4965f (patch)
tree484b90afa7f471146f32d66a2fc9c59d75535535 /src/main/java/at/gv/egiz/moazs
parent7f4329d64ffc7007601f13cc398025e581570f4b (diff)
downloadmoa-zs-900492fb49866b5c6a46dd8f444809cb24a4965f.tar.gz
moa-zs-900492fb49866b5c6a46dd8f444809cb24a4965f.tar.bz2
moa-zs-900492fb49866b5c6a46dd8f444809cb24a4965f.zip
Fix Binary-Status-Missing Bug
...by ensuring that the interceptor also stores messages with the element "msg:DeliveryResponse" to the repository.
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs')
-rw-r--r--src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java1
-rw-r--r--src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java1
2 files changed, 2 insertions, 0 deletions
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<String, Function<String, String>> 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();