producer.setNameServerAddress(“对应的NameSever”);producer.setSecretID(“获取的SecretID”)producer.setSecretKey(“获取的SecretKey”)String queue = “创建的队列名”
地区 | 公网地址 | VPC 地址 |
印度 | http://cmq-nameserver-in.tencentcloudapi.com | http://cmq-nameserver-vpc-in.api.tencentyun.com |
北京 | http://cmq-nameserver-bj.tencentcloudapi.com | http://cmq-nameserver-vpc-bj.api.tencentyun.com |
上海 | http://cmq-nameserver-sh.tencentcloudapi.com | http://cmq-nameserver-vpc-sh.api.tencentyun.com |
广州 | http://cmq-nameserver-gz.tencentcloudapi.com | http://cmq-nameserver-vpc-gz.api.tencentyun.com |
北美 | http://cmq-nameserver-ca.tencentcloudapi.com | http://cmq-nameserver-vpc-ca.api.tencentyun.com |
成都 | http://cmq-nameserver-cd.tencentcloudapi.com | http://cmq-nameserver-vpc-cd.api.tencentyun.com |
重庆 | http://cmq-nameserver-cq.tencentcloudapi.com | http://cmq-nameserver-vpc-cq.api.tencentyun.com |
中国香港 | http://cmq-nameserver-hk.tencentcloudapi.com | http://cmq-nameserver-vpc-hk.api.tencentyun.com |
韩国 | http://cmq-nameserver-kr.tencentcloudapi.com | http://cmq-nameserver-vpc-kr.api.tencentyun.com |
新加坡 | http://cmq-nameserver-sg.tencentcloudapi.com | http://cmq-nameserver-vpc-sg.api.tencentyun.com |
泰国 | http://cmq-nameserver-th.tencentcloudapi.com | http://cmq-nameserver-vpc-th.api.tencentyun.com |
美东 | http://cmq-nameserver-use.tencentcloudapi.com | http://cmq-nameserver-vpc-use.api.tencentyun.com |
美西 | http://cmq-nameserver-usw.tencentcloudapi.com | http://cmq-nameserver-vpc-usw.api.tencentyun.com |
本页内容是否解决了您的问题?