if (log.isDebugEnabled()) {
log.debug("Only the registry is defined in the synapse configuration, trying " +
"to fetch a configuration from the registry");
}
// TODO: support a artifact repository for registry as well instead of just the synapse.xml
OMNode remoteConfigNode = localConfigReg.lookup("synapse.xml");
if (remoteConfigNode != null) {
try {
synCfg = XMLConfigurationBuilder.getConfiguration(SynapseConfigUtils
.getStreamSource(remoteConfigNode).getInputStream(), properties);
// TODO: when you fetch the configuration and serialize the config in any case