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/AlarmMessage.java |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/AlarmMessage.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/AlarmMessage.java
new file mode 100644
index 0000000..be1cc3e
--- /dev/null
+++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/AlarmMessage.java
@@ -0,0 +1,17 @@
+package com.iailab.module.shasteel.mq.consumer;
+
+import com.iailab.module.model.api.mcs.dto.AlarmMessageRespDTO;
+import com.iailab.module.shasteel.mq.common.RoutingConstant;
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class AlarmMessage implements Serializable {
+
+    public static final String EXCHANGE = "alarm-exchange";
+
+    public static final String ALARM_ROUTING_KEY = RoutingConstant.Iailab_Model_Alarm;
+    // 预警消息DTO
+    private AlarmMessageRespDTO alarmMessageRespDTO;
+}
\ No newline at end of file

--
Gitblit v1.9.3