From 8766cfc344d3635cd7e50a7c674cd5feb54d5a3d Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期一, 02 十二月 2024 09:30:35 +0800 Subject: [PATCH] 预警mq监听并发送 --- shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/PredictFinishMessage.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/PredictFinishMessage.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/PredictFinishMessage.java new file mode 100644 index 0000000..4bf1c36 --- /dev/null +++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/PredictFinishMessage.java @@ -0,0 +1,17 @@ +package com.iailab.module.shasteel.mq.consumer; + +import com.iailab.module.shasteel.mq.common.RoutingConstant; +import lombok.Data; + +import java.io.Serializable; +import java.util.Date; + +@Data +public class PredictFinishMessage implements Serializable { + + public static final String EXCHANGE = "predict-finish-exchange"; + + public static final String PREDICTFINISH_ROUTING_KEY = RoutingConstant.Iailab_Model_PredictFinish; + // 预测时间 + private Date predictTime; +} \ No newline at end of file -- Gitblit v1.9.3