aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/application.yaml11
-rw-r--r--src/main/resources/mzs/app2mzs.xsd2
2 files changed, 11 insertions, 2 deletions
diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml
index 2d376a8..1903067 100644
--- a/src/main/resources/application.yaml
+++ b/src/main/resources/application.yaml
@@ -9,12 +9,19 @@ spring:
# Configure parameters here or in DeliveryRequest/Config.
# Choose a profile in DeliveryRequest/Config/ProfileId.
-# If a parameter is missing, moa zs falls back to default
+# If a parameter is missing, moa zs falls back to "default"
# Order: DeliveryRequest/Config > [chosen-profile] > default
delivery-request-configuration-profiles:
default:
perform-query-person-request: false
- msg-client.url: http://localhost:8081/services/DeliveryRequest
+ msg-client:
+ url: http://localhost:8081/services/DeliveryRequest
+ # Time in ms after which a connection will be closed.
+ # 0 means indefinitely.
+ connection-timeout: 0
+ # Time in ms that the client waits after having sent the request.
+ # 0 means indefinitely.
+ receive-timeout: 0
ssl-profile:
perform-query-person-request: false
diff --git a/src/main/resources/mzs/app2mzs.xsd b/src/main/resources/mzs/app2mzs.xsd
index 956cd31..d99b248 100644
--- a/src/main/resources/mzs/app2mzs.xsd
+++ b/src/main/resources/mzs/app2mzs.xsd
@@ -92,6 +92,8 @@
<xs:sequence>
<xs:element name="URL" type="xs:anyURI" />
<xs:element ref="SSL" minOccurs="0"/>
+ <xs:element name="ConnectionTimeout" minOccurs="0" type="xs:nonNegativeInteger" />
+ <xs:element name="ReceiveTimeout" minOccurs="0" type="xs:nonNegativeInteger" />
</xs:sequence>
</xs:complexType>
<xs:element name="SSL" type="SSLType" />