Commit 28e2c0e6 authored by yanzg's avatar yanzg

表结构修改

parent 6572bbeb
......@@ -5,7 +5,6 @@ import com.yanzuoguang.mq.service.MessageSendService;
import com.yanzuoguang.util.helper.StringHelper;
import com.yanzuoguang.util.thread.ThreadNext;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
......@@ -43,6 +42,9 @@ public class MessageFairResend implements ThreadNext.Next, InitializingBean {
@Override
public boolean next() throws Exception {
if (this.messageSendService == null) {
return true;
}
// 另外开启线程去执行数据
this.isPause = messageSendService.resendFair(StringHelper.getNewID(), mqConfig.getRetrySize());
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment