|
@@ -13,7 +13,6 @@ import org.springframework.stereotype.Service;
|
|
|
* @author 上研院 zhuzhoutong
|
|
* @author 上研院 zhuzhoutong
|
|
|
* @date 2021/11/17
|
|
* @date 2021/11/17
|
|
|
*/
|
|
*/
|
|
|
-@Service
|
|
|
|
|
public class RocketMQSender {
|
|
public class RocketMQSender {
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -34,7 +33,7 @@ public class RocketMQSender {
|
|
|
* @param message 发送内容
|
|
* @param message 发送内容
|
|
|
*/
|
|
*/
|
|
|
public void sendMsg(String destination, Object message){
|
|
public void sendMsg(String destination, Object message){
|
|
|
- this.sendMsg(destination,message);
|
|
|
|
|
|
|
+ this.sendMsg(destination,message,messageTimeOut);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|