try
{
SchemaRegistryService schemaRegistry = _schemaRegistryFactory.createSchemaRegistry();
HttpRelay.StaticConfig relayStaticConfig = _relayConfigBuilder.build();
getSourcesIdNameRegistry().updateFromIdNamePairs(relayStaticConfig.getSourceIds());
PhysicalSourceConfigBuilder psourceConfBuilder =
new PhysicalSourceConfigBuilder(_physicalSourcesConfigFiles);
return new HttpRelay(relayStaticConfig, psourceConfBuilder.build(), getSourcesIdNameRegistry(),
schemaRegistry);
}
catch (IOException ioe)
{
throw new DatabusException("OracleRelay instantiation error: " + ioe.getMessage(), ioe);