use of com.weibo.api.motan.config.springsupport.BasicServiceConfigBean in project motan by weibocom.
the class SpringBootRpcServerDemo method baseServiceConfig.
@Bean
public BasicServiceConfigBean baseServiceConfig() {
BasicServiceConfigBean config = new BasicServiceConfigBean();
config.setExport("demoMotan:8002");
config.setGroup("testgroup");
config.setAccessLog(false);
config.setShareChannel(true);
config.setModule("motan-demo-rpc");
config.setApplication("myMotanDemo");
config.setRegistry("registryConfig1");
return config;
}
use of com.weibo.api.motan.config.springsupport.BasicServiceConfigBean in project motan by weibocom.
the class SpringBootRpcServerDemo method baseServiceConfig.
@Bean
public BasicServiceConfigBean baseServiceConfig() {
BasicServiceConfigBean config = new BasicServiceConfigBean();
config.setExport("demoMotan:8002");
config.setGroup("testgroup");
config.setAccessLog(false);
config.setShareChannel(true);
config.setModule("motan-demo-rpc");
config.setApplication("myMotanDemo");
config.setRegistry("registryConfig1");
return config;
}
use of com.weibo.api.motan.config.springsupport.BasicServiceConfigBean in project motan by weibocom.
the class AnnotationRpcServerDemo method baseServiceConfig.
@Bean
public BasicServiceConfigBean baseServiceConfig() {
BasicServiceConfigBean config = new BasicServiceConfigBean();
config.setExport("demoMotan:8002");
config.setGroup("motan-demo-rpc");
config.setAccessLog(false);
config.setShareChannel(true);
config.setModule("motan-demo-rpc");
config.setApplication("myMotanDemo");
config.setRegistry("registryConfig1");
return config;
}
Aggregations