We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
报错信息如下 a、一启动就会报如下错误,切换了mns节点也无济于事; b、发短信正常;
1. pom com.alibaba.cloud aliyun-spring-boot-dependencies 1.0.0 pom import
2. yml alibaba: cloud: access-key: LsQ secret-key: 20B sms: report-queue-name: Alicom-Queue-1410-SmsReport up-queue-name: Alicom-Queue-1410-SmsUp
3. 监听类 /**
The text was updated successfully, but these errors were encountered:
pom: com.alibaba.cloud: aliyun-spring-boot-dependencies:1.0.0 com.alibaba.cloud:aliyun-sms-spring-boot-starter
Sorry, something went wrong.
No branches or pull requests
报错信息如下
![image](https://user-images.githubusercontent.com/60475843/233813576-9b6d2feb-87f7-4ff6-9c37-a05e085ab90d.png)
a、一启动就会报如下错误,切换了mns节点也无济于事;
b、发短信正常;
1. pom
com.alibaba.cloud aliyun-sms-spring-boot-startercom.alibaba.cloud
aliyun-spring-boot-dependencies
1.0.0
pom
import
2. yml
alibaba:
cloud:
access-key: LsQ
secret-key: 20B
sms:
report-queue-name: Alicom-Queue-1410-SmsReport
up-queue-name: Alicom-Queue-1410-SmsUp
3. 监听类
/**
*/
@slf4j
@component
public class SmsReportListener implements com.alibaba.cloud.spring.boot.sms.SmsReportMessageListener {
private List smsReportMessageSet = new LinkedList<>();
@OverRide
public boolean dealMessage(Message message) {
smsReportMessageSet.add(message);
log.error(this.getClass().getName() + "; " + message.toString());
if (message != null) {
return true;
}
return false;
}
public List getSmsReportMessageSet() {
return smsReportMessageSet;
}
}
The text was updated successfully, but these errors were encountered: