// Fill in the remote broker's information now.
remoteBrokerPath[0] = remoteBrokerId;
remoteBrokerName = remoteBrokerInfo.getBrokerName();
if (configuration.isUseBrokerNamesAsIdSeed()) {
idGenerator = new IdGenerator(brokerService.getBrokerName() + "->" + remoteBrokerName);
} else {
idGenerator = new IdGenerator();
}
} catch (Throwable e) {
serviceLocalException(e);
}
}