Commit b00bf332 authored by 赵啸非's avatar 赵啸非

修改文件存储路径

parent 9c2d6dcc
......@@ -71,6 +71,7 @@ public class DefaultTbCoreConsumerService extends AbstractConsumerService<TbQueu
}
mainConsumer.commit();
Thread.sleep(200);
} catch (Exception e) {
if (!stopped) {
// log.warn("Failed to obtain messages from queue.", e);
......@@ -111,6 +112,7 @@ public class DefaultTbCoreConsumerService extends AbstractConsumerService<TbQueu
}
consumer.commit();
Thread.sleep(200);
} catch (Exception e) {
if (!stopped) {
try {
......
......@@ -59,6 +59,7 @@ public class TbRabbitMqConsumerTemplate<T extends TbQueueMsg> extends AbstractTb
List<GetResponse> result = queues.stream()
.map(queue -> {
try {
GetResponse getResponse = channel.basicGet(queue, true);
return getResponse;
} catch (IOException e) {
......
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