use of com.qcloud.cmq.entity.CmqConfig in project cmq-java-sdk by tencentyun.
the class QueueTest method initConfig.
@Before
public void initConfig() {
cmqConfig = new CmqConfig();
cmqConfig.setEndpoint("");
cmqConfig.setSecretId("");
cmqConfig.setSecretKey("");
cmqConfig.setConnectTimeout(10000);
cmqConfig.setReadTimeout(10000);
cmqConfig.setReceiveTimeout(15000);
cmqConfig.setMaxIdleConnections(1);
account = new Account(cmqConfig);
}
Aggregations