aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/application.yaml6
-rw-r--r--src/main/resources/mzs/app2mzs.xsd9
2 files changed, 12 insertions, 3 deletions
diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml
index a04a903..2d0bed3 100644
--- a/src/main/resources/application.yaml
+++ b/src/main/resources/application.yaml
@@ -30,9 +30,11 @@ delivery-request-configuration-profiles:
# 0 means indefinitely.
receive-timeout: 0
- # Specifies how MoaZS should
+ # Specifies how MoaZS should a synchronous responses from msg.
msg-response-sinks:
- save-response-to-file: false
+ save-response-to-file:
+ active: false
+ path: /msg-responses/
log-response: true
ssl-profile:
diff --git a/src/main/resources/mzs/app2mzs.xsd b/src/main/resources/mzs/app2mzs.xsd
index ba99eab..5733a00 100644
--- a/src/main/resources/mzs/app2mzs.xsd
+++ b/src/main/resources/mzs/app2mzs.xsd
@@ -132,10 +132,17 @@
<xs:element name="MsgResponseSinks" type="MsgResponseSinksType"/>
<xs:complexType name="MsgResponseSinksType">
<xs:sequence>
- <xs:element name="SafeResponseToFile" type="xs:boolean" minOccurs="0" />
+ <xs:element ref="SaveResponseToFile" minOccurs="0" />
<xs:element name="LogResponse" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
+ <xs:element name="SaveResponseToFile" type="SaveResponseToFileType" />
+ <xs:complexType name="SaveResponseToFileType">
+ <xs:sequence>
+ <xs:element name="Active" type="xs:boolean" minOccurs="0"/>
+ <xs:element name="Path" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
<xs:element name="DeliveryResponse" type="DeliveryResponseType"/>
<xs:complexType name="DeliveryResponseType">
<xs:choice>