Commit aa5e3d81 by cnnoter

add new file

parents
spring:
redis:
database: 10
host: test-env
port: 6379
password: techhero
timeout: 0
pool:
max-active: 8
max-wait: -1
max-idle: 8
min-idle: 0
datasource:
druid:
stat-view-servlet:
loginUsername: root
loginPassword: root
initial-size: 1
max-active: 20
min-idle: 3
max-wait: 60000
time-between-eviction-runs-millis: 60000
validation-query: select 1 from dual
filters: stat,slf4j
dynamic:
primary: system
datasource:
system:
url: jdbc:mysql://dev-env:33060/system_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
username: root
password: techhero
driver-class-name: com.mysql.cj.jdbc.Driver
exam:
url: jdbc:mysql://dev-env:33060/exam_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
username: root
password: techhero
driver-class-name: com.mysql.cj.jdbc.Driver
rabbitmq:
host: dev-env
port: 5672
username: techhero
password: techhero
virtual-host: /framework
listener:
simple:
retry:
enabled: true
max-attempts: 5
# 交换机
exchanges:
# 通配符订阅
- name: topic.mode
type: TOPIC
# 广播
- name: fanout.mode
type: FANOUT
# 消息头
- name: headers.mode
type: HEADERS
# 队列
queues:
# 直连队列
- name: queue.direct.one
exchange-name: fanout.mode
# 队列2
- name: queue.two
routing-key: queue.two.*
exchange-name: fanout.mode,topic.mode
- name: queue.three
routing-key: queue.obj.*
exchange-name: topic.mode
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment