feat:() 新增MQ和Caffeine缓存库依赖 和 修改配置文件

dev.processing
晨哀 2024-10-04 09:46:03 +08:00
parent d1440fb706
commit 84b54e9116
3 changed files with 15 additions and 1 deletions

View File

@ -107,6 +107,18 @@
<version>3.6.3</version>
</dependency>
<!-- MQ -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
<!-- 引入Caffeine缓存库-->
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>3.0.5</version>
</dependency>
</dependencies>
<build>

View File

@ -2,6 +2,7 @@ package com.muyu.processing.abstraction;
import com.alibaba.fastjson.JSONObject;
import com.muyu.processing.interfaces.EventInterface;
import lombok.extern.log4j.Log4j2;
/**
*
@ -11,6 +12,7 @@ import com.muyu.processing.interfaces.EventInterface;
* @nameEventProcessor
* @Date2024/9/28 20:58
*/
@Log4j2
public abstract class EventProcessor implements EventInterface {
private EventProcessor eventProcessor;

View File

@ -7,7 +7,7 @@ nacos:
addr: 47.101.49.53:8848
user-name: nacos
password: nacos
namespace: seven
namespace: dev
# SPRING_AMQP_DESERIALIZATION_TRUST_ALL=true spring.amqp.deserialization.trust.all
# Spring
spring: