Author: clebert.suconic(a)jboss.com
Date: 2011-06-14 22:08:33 -0400 (Tue, 14 Jun 2011)
New Revision: 10804
Modified:
branches/Branch_2_2_EAP-cluster-cleanup/src/main/org/hornetq/core/deployers/impl/FileConfigurationParser.java
Log:
fixing test
Modified:
branches/Branch_2_2_EAP-cluster-cleanup/src/main/org/hornetq/core/deployers/impl/FileConfigurationParser.java
===================================================================
---
branches/Branch_2_2_EAP-cluster-cleanup/src/main/org/hornetq/core/deployers/impl/FileConfigurationParser.java 2011-06-15
01:22:16 UTC (rev 10803)
+++
branches/Branch_2_2_EAP-cluster-cleanup/src/main/org/hornetq/core/deployers/impl/FileConfigurationParser.java 2011-06-15
02:08:33 UTC (rev 10804)
@@ -1021,7 +1021,7 @@
long maxRetryInterval = XMLConfigurationUtil.getLong(e,
"max-retry-interval", ConfigurationImpl.DEFAULT_CLUSTER_MAX_RETRY_INTERVAL,
Validators.GT_ZERO);
- int reconnectAttempts = XMLConfigurationUtil.getInteger(e,
"reconnect-attempts", ConfigurationImpl.DEFAULT_CLUSTER_RECONNECT_ATTEMPTS,
Validators.GT_ZERO);
+ int reconnectAttempts = XMLConfigurationUtil.getInteger(e,
"reconnect-attempts", ConfigurationImpl.DEFAULT_CLUSTER_RECONNECT_ATTEMPTS,
Validators.MINUS_ONE_OR_GE_ZERO);
int confirmationWindowSize = XMLConfigurationUtil.getInteger(e,