Receipt receipt = remoteConnection.syncSendRequest(info);
if (receipt != null){
remoteBrokerName = receipt.getBrokerName();
remoteClusterName = receipt.getClusterName();
}
connectionAdvisor = new ConnectionAdvisor(remoteConnection);
connectionAdvisor.addListener(this);
connectionAdvisor.start();
connected.set(true);
}
}