- Timestamp:
- 06/19/13 16:30:19 (11 years ago)
- Location:
- trunk/src
- Files:
-
- 3 deleted
- 1 edited
- 1 moved
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 } -
trunk/src/test/java/omq/test/calculator/ClientTest.java
r47 r51 18 18 19 19 @RunWith(value = Parameterized.class) 20 public class ParameterizedClient {20 public class ClientTest { 21 21 22 22 private static Calculator remoteCalc; 23 23 private static Calculator remoteCalc2; 24 24 25 public ParameterizedClient(String type) throws Exception {25 public ClientTest(String type) throws Exception { 26 26 Properties env = new Properties(); 27 27 env.setProperty(ParameterQueue.USER_NAME, "guest");
Note: See TracChangeset
for help on using the changeset viewer.