Commit 8fa24ee3 by Administrator

Add new file

parent 40de10f9
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: command
datasource:
# command:
# url: jdbc:mysql://dev-env:33060/command_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
# username: root
# password: techhero
# driver-class-name: com.mysql.cj.jdbc.Driver
# command_zt:
# url: jdbc:mysql://dev-env:33060/command_zt_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
# username: root
# password: techhero
# driver-class-name: com.mysql.cj.jdbc.Driver
# exam:
# url: jdbc:mysql://dev-env:33060/exam_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
# username: root
# password: techhero
# driver-class-name: com.mysql.cj.jdbc.Driver
command:
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
username: yjzh_dev
password: yjzh_dev
yjzh_zt:
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
username: yjzh_zt_dev
password: yjzh_zt_dev
exam:
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
username: jcsjv2_dev
password: jcsjv2_dev
zbfk_zt:
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
username: zbfk_zt_dev
password: zbfk_zt_dev
sfrzxt_zt:
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
username: sfrzxt_zt_dev
password: sfrzxt_zt_dev
wsxc_zt:
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
username: wsxc_zt_dev
password: wsxc_zt_dev
rabbitmq:
host: dev-env
port: 5672
username: techhero
password: techhero
virtual-host: /framework
listener:
simple:
acknowledge-mode: manual # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
publisher-confirms: true #确认消息已发送到交换机(Exchange)
publisher-returns: true #确认消息已发送到队列(Queue)
# 交换机
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