feat:() 新增MQ和Caffeine缓存库依赖 和 修改配置文件
parent
d1440fb706
commit
84b54e9116
|
@ -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>
|
||||
|
|
|
@ -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;
|
|||
* @name:EventProcessor
|
||||
* @Date:2024/9/28 20:58
|
||||
*/
|
||||
@Log4j2
|
||||
public abstract class EventProcessor implements EventInterface {
|
||||
|
||||
private EventProcessor eventProcessor;
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue