infoVersioned.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteCurrencyPairsSource.class);
repo.registerComponent(info, source);
repo.registerComponent(infoVersioned, source);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataCurrencyPairsSourceResource(source));
repo.getRestComponents().publish(infoVersioned, new DataCurrencyPairsSourceResource(source));
}
}