} */
Component component = context.getComponent(scheme);
LOG.trace("Lookup for Component handling \"{}:\" configuration returned {}",
scheme, component != null ? component.getClass().getName() : "<null>");
DefaultEndpointConfiguration cfg = (DefaultEndpointConfiguration)component.createConfiguration(scheme);
// Should we be ok with URIs not properly encoded? (that method may need a bit of refactoring too)
cfg.setURI(new URI(UnsafeUriCharactersEncoder.encode(uri)));
return cfg;
}