use of com.weibo.api.motan.config.springsupport.ProtocolConfigBean in project motan by weibocom.
the class SpringBootRpcClientDemo method protocolConfig1.
@Bean(name = "demoMotan")
public ProtocolConfigBean protocolConfig1() {
ProtocolConfigBean config = new ProtocolConfigBean();
config.setDefault(true);
config.setName("motan");
config.setMaxContentLength(1048576);
return config;
}
Aggregations