CompositeTransportChannel composite = (CompositeTransportChannel) transportChannel;
composite.setMaximumRetries(maximumRetries);
composite.setFailureSleepTime(reconnectSleepTime);
}
remoteConnection.start();
BrokerInfo info = new BrokerInfo();
info.setBrokerName(brokerContainer.getBroker().getBrokerName());
info.setClusterName(brokerContainer.getBroker().getBrokerClusterName());
Receipt receipt = remoteConnection.syncSendRequest(info);
remoteBrokerName = receipt.getBrokerName();
remoteClusterName = receipt.getClusterName();
}