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
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]