feat:添加rabbitmq配置(是否启用RabbitMQ)

This commit is contained in:
yanshikui
2025-01-15 16:37:13 +08:00
parent 1936ede088
commit 8cb6142d88
2 changed files with 6 additions and 3 deletions

View File

@@ -43,7 +43,8 @@ logging:
# Spring配置
spring:
rabbitmq:
host: 192.168.1.194 # RabbitMQ 服务的地址
enabled: false # 是否启用RabbitMQ
host: localhost # RabbitMQ 服务的地址
port: 5672 # RabbitMQ 服务的端口
username: mes # RabbitMQ 服务的账号
password: mes # RabbitMQ 服务的密码
@@ -71,13 +72,13 @@ spring:
# redis 配置
redis:
# 地址
host: 192.168.1.254
host: localhost
# 端口默认为6379
port: 6379
# 数据库索引
database: 0
# 密码
password:
password: 123456
# 连接超时时间
timeout: 10s
lettuce: