Author: clebert.suconic(a)jboss.com
Date: 2011-11-08 15:45:22 -0500 (Tue, 08 Nov 2011)
New Revision: 11676
Modified:
branches/Branch_2_2_AS7/src/main/org/hornetq/core/config/BridgeConfiguration.java
Log:
Adding a constructor for backward compatibility on the API
Modified:
branches/Branch_2_2_AS7/src/main/org/hornetq/core/config/BridgeConfiguration.java
===================================================================
---
branches/Branch_2_2_AS7/src/main/org/hornetq/core/config/BridgeConfiguration.java 2011-11-08
20:29:05 UTC (rev 11675)
+++
branches/Branch_2_2_AS7/src/main/org/hornetq/core/config/BridgeConfiguration.java 2011-11-08
20:45:22 UTC (rev 11676)
@@ -82,6 +82,7 @@
final int reconnectAttempts,
final boolean useDuplicateDetection,
final int confirmationWindowSize,
+ final long clientFailureCheckPeriod,
final List<String> staticConnectors,
final boolean ha,
final String user,
@@ -93,7 +94,7 @@
filterString,
transformerClassName,
HornetQClient.DEFAULT_MIN_LARGE_MESSAGE_SIZE,
- HornetQClient.DEFAULT_CLIENT_FAILURE_CHECK_PERIOD,
+ clientFailureCheckPeriod,
HornetQClient.DEFAULT_CONNECTION_TTL,
retryInterval,
retryInterval,
@@ -148,8 +149,9 @@
/**
* For backward compatibility on the API... no MinLareMessage, checkPeriod and TTL
on this constructor
- */
- public BridgeConfiguration(final String name,
+ */
+
+ public BridgeConfiguration(final String name,
final String queueName,
final String forwardingAddress,
final String filterString,
@@ -159,6 +161,7 @@
final int reconnectAttempts,
final boolean useDuplicateDetection,
final int confirmationWindowSize,
+ final long clientFailureCheckPeriod,
final String discoveryGroupName,
final boolean ha,
final String user,
@@ -170,7 +173,7 @@
filterString,
transformerClassName,
HornetQClient.DEFAULT_MIN_LARGE_MESSAGE_SIZE,
- HornetQClient.DEFAULT_CLIENT_FAILURE_CHECK_PERIOD,
+ clientFailureCheckPeriod,
HornetQClient.DEFAULT_CONNECTION_TTL,
retryInterval,
retryInterval,