TASK:消费开启
This commit is contained in:
@@ -218,17 +218,17 @@ public class SRConsumer {
|
|||||||
taskListService.updateTaskStatusOrOutputRedis(uniqueId, "fail", null);
|
taskListService.updateTaskStatusOrOutputRedis(uniqueId, "fail", null);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @RabbitListener(queues = MQConfig.SR_QUEUE)
|
@RabbitListener(queues = MQConfig.SR_QUEUE)
|
||||||
// @RabbitHandler
|
@RabbitHandler
|
||||||
// public void SRConsumer1(Message msg, Channel channel) {
|
public void SRConsumer1(Message msg, Channel channel) {
|
||||||
// superResolution(msg, channel, "consumer 1");
|
superResolution(msg, channel, "consumer 1");
|
||||||
// }
|
}
|
||||||
//
|
|
||||||
//
|
|
||||||
// @RabbitListener(queues = MQConfig.SR_RESULT_QUEUE)
|
@RabbitListener(queues = MQConfig.SR_RESULT_QUEUE)
|
||||||
// @RabbitHandler
|
@RabbitHandler
|
||||||
// public void SRResultConsumer1(Message msg, Channel channel) {
|
public void SRResultConsumer1(Message msg, Channel channel) {
|
||||||
// getSRResult(msg, channel, "consumer 1");
|
getSRResult(msg, channel, "consumer 1");
|
||||||
// }
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user