- Timestamp:
- 05/23/13 21:37:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/objectmq/src/omq/common/util/OmqConnectionFactory.java
r14 r22 17 17 public class OmqConnectionFactory { 18 18 private static Connection connection; 19 private static int connectionTimeout = 2 * 1000; 19 20 20 21 public static void init(Properties env) throws KeyManagementException, NoSuchAlgorithmException, IOException { … … 41 42 factory.setHost(host); 42 43 factory.setPort(port); 44 factory.setConnectionTimeout(connectionTimeout); 43 45 if (ssl) { 44 46 factory.useSslProtocol();
Note: See TracChangeset
for help on using the changeset viewer.