- Timestamp:
- 06/19/13 16:30:19 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/common/util/OmqConnectionFactory.java
r49 r51 39 39 } catch (Exception e) { 40 40 logger.error(e); 41 long milis = Long.parseLong(env.getProperty(ParameterQueue.RETRY_TIME_CONNECTION, "2000")); 41 long milis = 2000; 42 if (env != null) { 43 milis = Long.parseLong(env.getProperty(ParameterQueue.RETRY_TIME_CONNECTION, "2000")); 44 } 42 45 Thread.sleep(milis); 43 46 }
Note: See TracChangeset
for help on using the changeset viewer.