|
connectorPair = new Pair<String, String>(connectorName, backupConnectorName);
}
}
BridgeConfiguration config;
if (connectorPair != null)
{
config = new BridgeConfiguration(name,
queueName,
forwardingAddress,
filterString,
transformerClassName,
retryInterval,
retryIntervalMultiplier,
reconnectAttempts,
failoverOnServerShutdown,
useDuplicateDetection,
confirmationWindowSize,
HornetQClient.DEFAULT_CLIENT_FAILURE_CHECK_PERIOD,
connectorPair,
user,
password);
}
else
{
config = new BridgeConfiguration(name,
queueName,
forwardingAddress,
filterString,
transformerClassName,
retryInterval,
|