Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
3387972a
Commit
3387972a
authored
Jun 28, 2021
by
xiaoyu
Browse files
mq配置
parent
81c94049
Changes
4
Hide whitespace changes
Inline
Side-by-side
conf/devCommons/config/application.yml
View file @
3387972a
...
...
@@ -4,17 +4,32 @@
spring
:
datasource
:
# yml填写url连接串, 无需将&符号进行转义
url
:
jdbc:mysql://127.0.0.1:3306/jeepay
db
?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
url
:
jdbc:mysql://127.0.0.1:3306/jeepay?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
username
:
root
password
:
redis
:
host
:
127.0.0.1
port
:
6379
password
:
# 注意:以下MQ配置需注意【如需使用activeMQ则需将rabbitMQ配置注释即可】
profiles
:
include
:
-
activeMQ
# - rabbitMQ # 需要安装延迟队列插件:https://www.rabbitmq.com/blog/2015/04/16/scheduling-messages-with-rabbitmq/
#activeMQ配置
activemq
:
broker-url
:
tcp://localhost:61616
#连接地址
#rabbitmq配置
# rabbitmq:
# addresses: 127.0.0.1:5672
# username: jeepay
# password: 123123
# dynamic: true
# virtual-host: /
#日志配置参数。
# 当存在logback-spring.xml文件时: 该配置将引进到logback配置, springboot配置不生效。
# 不存在logback-spring.xml 文件时, 使用springboot的配置, 同样可用。
...
...
jeepay-manager/src/main/resources/application.yml
View file @
3387972a
...
...
@@ -50,9 +50,24 @@ spring:
timeout
:
1000
database
:
1
#1库:运营平台 #2库:商户系统 #3库:支付网关
password
:
# 注意:以下MQ配置需注意【如需使用activeMQ则需将rabbitMQ配置注释即可】
profiles
:
include
:
-
activeMQ
# - rabbitMQ # 需要安装延迟队列插件:https://www.rabbitmq.com/blog/2015/04/16/scheduling-messages-with-rabbitmq/
#activeMQ配置
# activemq:
# broker-url: tcp://localhost:61616 #连接地址
activemq
:
broker-url
:
tcp://localhost:61616
#连接地址
#rabbitmq配置
# rabbitmq:
# addresses: 127.0.0.1:5672
# username: jeepay
# password: 123123
# dynamic: true
# virtual-host: /
#日志配置参数。
# 当存在logback-spring.xml文件时: 该配置将引进到logback配置, springboot配置不生效。
...
...
jeepay-merchant/src/main/resources/application.yml
View file @
3387972a
...
...
@@ -50,9 +50,24 @@ spring:
timeout
:
1000
database
:
2
#1库:运营平台 #2库:商户系统 #3库:支付网关
password
:
# 注意:以下MQ配置需注意【如需使用activeMQ则需将rabbitMQ配置注释即可】
profiles
:
include
:
-
activeMQ
# - rabbitMQ # 需要安装延迟队列插件:https://www.rabbitmq.com/blog/2015/04/16/scheduling-messages-with-rabbitmq/
#activeMQ配置
# activemq:
# broker-url: tcp://localhost:61616 #连接地址
activemq
:
broker-url
:
tcp://localhost:61616
#连接地址
#rabbitmq配置
# rabbitmq:
# addresses: 127.0.0.1:5672
# username: jeepay
# password: 123123
# dynamic: true
# virtual-host: /
#日志配置参数。
# 当存在logback-spring.xml文件时: 该配置将引进到logback配置, springboot配置不生效。
...
...
jeepay-payment/src/main/resources/application.yml
View file @
3387972a
...
...
@@ -50,9 +50,25 @@ spring:
timeout
:
1000
database
:
3
#1库:运营平台 #2库:商户系统 #3库:支付网关
password
:
# 注意:以下MQ配置需注意【如需使用activeMQ则需将rabbitMQ配置注释即可】
profiles
:
include
:
-
activeMQ
# - rabbitMQ # 需要安装延迟队列插件:https://www.rabbitmq.com/blog/2015/04/16/scheduling-messages-with-rabbitmq/
#activeMQ配置
# activemq:
# broker-url: tcp://localhost:61616 #连接地址
activemq
:
broker-url
:
tcp://localhost:61616
#连接地址
#rabbitmq配置
# rabbitmq:
# addresses: 127.0.0.1:5672
# username: jeepay
# password: 123123
# dynamic: true
# virtual-host: /
#日志配置参数。
# 当存在logback-spring.xml文件时: 该配置将引进到logback配置, springboot配置不生效。
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment