@Bean @ConditionalOnMissingBean public IClientConfig ribbonClientConfig() { DefaultClientConfigImpl config = new DefaultClientConfigImpl(); config.loadProperties(this.name); return config; }
public static DefaultClientConfigImpl getClientConfigWithDefaultValues( String clientName, String nameSpace) { DefaultClientConfigImpl config = new DefaultClientConfigImpl(nameSpace); config.loadProperties(clientName); return config; }