summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2014-03-07 12:34:28 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2014-03-07 12:34:28 +0100
commit655d20aa34b819720b20165dc6aeea032df224cc (patch)
tree8ce293f8043bfb08c218ee94494519a747bdd84c /src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java
parent269cee30ed94b35b9c774470e590c03f92186e8a (diff)
downloadegovutils-655d20aa34b819720b20165dc6aeea032df224cc.tar.gz
egovutils-655d20aa34b819720b20165dc6aeea032df224cc.tar.bz2
egovutils-655d20aa34b819720b20165dc6aeea032df224cc.zip
* switch to secondary UR service if primary service throws an exception
* make http timeout configurable
Diffstat (limited to 'src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java')
-rw-r--r--src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java b/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java
index 7de17aa..67873f3 100644
--- a/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java
+++ b/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java
@@ -295,6 +295,9 @@ public class EgovUtilPropertiesConfiguration implements EgovUtilConfiguration {
return this.props.getProperty("egovutil.ur.test.url");
}
+ public String getURSecondaryProductionEnvironmentURL() {
+ return this.props.getProperty("egovutil.ur.prod.secondary.url");
+ }
public JaxWsSSLConfiguration getMISsslConfiguration() {
return missslConfiguration;
@@ -349,7 +352,7 @@ public class EgovUtilPropertiesConfiguration implements EgovUtilConfiguration {
}
public int getHTTPRequestTimeout() {
- return Integer.parseInt(this.props.getProperty("egovutil.usp.http.timeout","60000"));
+ return Integer.parseInt(this.props.getProperty("egovutil.http.timeout","60000"));
}
public JaxWsSSLConfiguration getERsBsslConfiguration() {