From 1daf485e92f70bb094fa034a56ec2db5fe668a01 Mon Sep 17 00:00:00 2001 From: liujun Date: Tue, 12 Dec 2023 18:02:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AB=E9=A1=B9=E4=BD=9C=E4=B8=9Amq=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 15 ++ src/main/java/com/zcloud/dto/mq/Response.java | 68 +++++++++ .../java/com/zcloud/dto/mq/TenCorpDto.java | 46 +++++++ .../mq/controller/EightWorkListener.java | 87 ++++++++++++ .../com/zcloud/mq/controller/MqListener.java | 32 +++++ .../zcloud/mq/controller/SendController.java | 54 ++++++++ .../mq/mapper/MqErrorMessageLogMapper.java | 59 ++++++++ .../zcloud/mq/mapper/MqMessageLogMapper.java | 59 ++++++++ .../com/zcloud/mq/service/LogService.java | 11 ++ .../zcloud/mq/service/SendMessageService.java | 11 ++ .../mq/service/impl/LogServiceImpl.java | 43 ++++++ .../service/impl/SendMessageServiceImpl.java | 129 ++++++++++++++++++ src/main/java/com/zcloud/mq/util/Const.java | 6 + src/main/java/com/zcloud/mq/util/MqUtil.java | 84 ++++++++++++ 14 files changed, 704 insertions(+) create mode 100644 src/main/java/com/zcloud/dto/mq/Response.java create mode 100644 src/main/java/com/zcloud/dto/mq/TenCorpDto.java create mode 100644 src/main/java/com/zcloud/mq/controller/EightWorkListener.java create mode 100644 src/main/java/com/zcloud/mq/controller/MqListener.java create mode 100644 src/main/java/com/zcloud/mq/controller/SendController.java create mode 100644 src/main/java/com/zcloud/mq/mapper/MqErrorMessageLogMapper.java create mode 100644 src/main/java/com/zcloud/mq/mapper/MqMessageLogMapper.java create mode 100644 src/main/java/com/zcloud/mq/service/LogService.java create mode 100644 src/main/java/com/zcloud/mq/service/SendMessageService.java create mode 100644 src/main/java/com/zcloud/mq/service/impl/LogServiceImpl.java create mode 100644 src/main/java/com/zcloud/mq/service/impl/SendMessageServiceImpl.java create mode 100644 src/main/java/com/zcloud/mq/util/Const.java create mode 100644 src/main/java/com/zcloud/mq/util/MqUtil.java diff --git a/pom.xml b/pom.xml index a046f419..6576b988 100644 --- a/pom.xml +++ b/pom.xml @@ -461,6 +461,21 @@ hutool-all 5.0.5 + + + org.apache.rocketmq + rocketmq-client-java + 5.0.5 + + + org.apache.rocketmq + rocketmq-spring-boot-starter + 2.2.2 + + + org.projectlombok + lombok +