Commit 1fbb691b by Administrator

Update techhero-front-inspect-server-local.yml

parent 400a8011
...@@ -13,3 +13,38 @@ spring: ...@@ -13,3 +13,38 @@ spring:
max-wait: -1 max-wait: -1
max-idle: 8 max-idle: 8
min-idle: 0 min-idle: 0
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