From 5e026b30864542258e4e69f2f4b0485007e6f4f7 Mon Sep 17 00:00:00 2001
From: sin <sin@localhost>
Date: Wed, 15 Apr 2009 22:33:22 +0000
Subject: [PATCH] issue# 2608:stop-ds fails when connection with smtp-server fails
---
opends/src/server/org/opends/server/util/ServerConstants.java | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/util/ServerConstants.java b/opends/src/server/org/opends/server/util/ServerConstants.java
index 15934a0..f87175f 100644
--- a/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -2906,6 +2906,28 @@
/**
+ * The name of the JavaMail property that can be used to specify the socket
+ * connection timeout value in milliseconds.
+ */
+ public static final String SMTP_PROPERTY_CONNECTION_TIMEOUT =
+ "mail.smtp.connectiontimeout";
+
+
+ /**
+ * The name of the JavaMail property that can be used to specify the socket
+ * I/O timeout value in milliseconds.
+ */
+ public static final String SMTP_PROPERTY_IO_TIMEOUT = "mail.smtp.timeout";
+
+
+ /**
+ * The default timeout value for JavaMail timeout properties.
+ */
+ public static final String SMTP_DEFAULT_TIMEOUT_VALUE = "5000";
+
+
+
+ /**
* The description for the alert type that will be used for the alert
* notification generated if the multimaster replication detects
* a conflict that cannot be solved automatically.
--
Gitblit v1.10.0