Commit 73fde779 authored by yanzg's avatar yanzg

表结构修改

parent 1a6fdcf9
...@@ -37,7 +37,7 @@ public class MqServiceImpl implements MqService { ...@@ -37,7 +37,7 @@ public class MqServiceImpl implements MqService {
private MessageServerService messageServerService; private MessageServerService messageServerService;
@Autowired @Autowired
private MessageLogService messageLogService; private MessageLogService messageLogService;
private final static long DED_TIME_DEFAULT = 3L * 1000L;
/** /**
* 保存演示DEMO * 保存演示DEMO
* *
...@@ -108,7 +108,7 @@ public class MqServiceImpl implements MqService { ...@@ -108,7 +108,7 @@ public class MqServiceImpl implements MqService {
@Override @Override
public void basicHandle(Message messageBody, Channel channel, String message, Consumer<String> consumerMessage) { public void basicHandle(Message messageBody, Channel channel, String message, Consumer<String> consumerMessage) {
String consumerQueue = messageBody.getMessageProperties().getConsumerQueue(); String consumerQueue = messageBody.getMessageProperties().getConsumerQueue();
this.basicHandle(messageBody, channel, consumerQueue, consumerQueue, message, 0, consumerMessage); this.basicHandle(messageBody, channel, consumerQueue, consumerQueue, message, DED_TIME_DEFAULT, consumerMessage);
} }
@Override @Override
...@@ -119,7 +119,7 @@ public class MqServiceImpl implements MqService { ...@@ -119,7 +119,7 @@ public class MqServiceImpl implements MqService {
@Override @Override
public void basicHandle(Message messageBody, Channel channel, String exchangeNameAndRouteKey, String message, Consumer<String> consumerMessage) { public void basicHandle(Message messageBody, Channel channel, String exchangeNameAndRouteKey, String message, Consumer<String> consumerMessage) {
this.basicHandle(messageBody, channel, exchangeNameAndRouteKey, exchangeNameAndRouteKey, message, 0, consumerMessage); this.basicHandle(messageBody, channel, exchangeNameAndRouteKey, exchangeNameAndRouteKey, message, DED_TIME_DEFAULT, consumerMessage);
} }
@Override @Override
......
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