You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "htynkn (GitHub)" <gi...@apache.org> on 2019/12/30 07:56:21 UTC

[GitHub] [dubbo] htynkn commented on issue #5552: Dubbo 2.7.5 has just been released

Another stuff is for ```Refactoring of config module```, 
what user should do for jdk11 env and what user should do with manual config instantiation should list in website.

for example how new config works with below code:
``` java
 @Configuration
    @EnableDubbo(scanBasePackages = "org.apache.dubbo.samples.metadatareport.configcenter.impl")
    @PropertySource("classpath:/spring/dubbo-provider.properties")
    static public class ProviderConfiguration {
        @Bean
        public ProviderConfig providerConfig() {
            ProviderConfig providerConfig = new ProviderConfig();
            providerConfig.setTimeout(1000);
            return providerConfig;
        }
    }
```


[ Full content available at: https://github.com/apache/dubbo/issues/5552 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org