Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张云鹏
/
uc-consumer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
1a39d208
...
1a39d2088c557b8a799be958bad87ae0262c8356
authored
2022-06-09 13:15:20 +0800
by
xianghan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.优化mq配置,添加默认数据源和默认队列
1 parent
aae2399c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
23 deletions
src/main/java/com/topdraw/config/RabbitMqSourceConfig.java
src/main/resources/config/application-dev.yml
src/main/java/com/topdraw/config/RabbitMqSourceConfig.java
View file @
1a39d20
This diff is collapsed.
Click to expand it.
src/main/resources/config/application-dev.yml
View file @
1a39d20
...
...
@@ -79,7 +79,7 @@ mutil-mq:
# password: Topdraw1qaz
# 虚拟空间
# virtual-host: member_center_iptv_sichuan
virtual-host
:
member_center_iptv_chongshu
virtual-host
:
user_center
publisher-confirms
:
true
#如果对异步消息需要回调必须设置为true
# 管理侧
...
...
@@ -99,42 +99,60 @@ mutil-mq:
service
:
mq
:
list
:
-
source
:
event
exchange
:
event.exchange
queue
:
event.queue
# - source: event
# exchange: event.exchange
# queue: event.queue
# exchange-type: direct
# routing-key:
# active: service
-
source
:
collection
exchange
:
userCenter_exchange
queue
:
queue.collection.add
exchange-type
:
direct
routing-key
:
routing-key
:
route.UserCollection.add
active
:
service
-
source
:
collection
exchange
:
collection.
exchange
queue
:
collection.queu
e
exchange
:
userCenter_
exchange
queue
:
queue.collection.delet
e
exchange-type
:
direct
routing-key
:
servic
e
routing-key
:
route.UserCollection.delet
e
active
:
service
-
source
:
viewRecord
exchange
:
viewRecord.
exchange
queue
:
viewRecord.queue
-
source
:
collection
exchange
:
userCenter_
exchange
queue
:
queue.collection.deleteall
exchange-type
:
direct
routing-key
:
routing-key
:
route.UserCollection.deleteall
active
:
service
-
source
:
eventBus
exchange
:
uc.eventbus
queue
:
uc.eventbus
exchange-type
:
topic
routing-key
:
uc.eventbus.*.topic
-
source
:
collection
exchange
:
exchange.collection
queue
:
collection.queue
exchange-type
:
direct
routing-key
:
active
:
service
# - source: viewRecord
# exchange: viewRecord.exchange
# queue: viewRecord.queue
# exchange-type: direct
# routing-key:
# active: service
# - source: eventBus
# exchange: uc.eventbus
# queue: uc.eventbus
# exchange-type: topic
# routing-key: uc.eventbus.*.topic
# active: service
-
source
:
uce
exchange
:
uce.exchange
queue
:
uce.queue
exchange-type
:
direct
routing-key
:
active
:
management
-
source
:
wechat
exchange
:
weixin.subOrUnSub.direct
queue
:
weixin.subOrUnSub.queue
exchange-type
:
direct
routing-key
:
active
:
#
- source: wechat
#
exchange: weixin.subOrUnSub.direct
#
queue: weixin.subOrUnSub.queue
#
exchange-type: direct
#
routing-key:
# active: active
error
:
logs
:
list
:
...
...
Please
register
or
sign in
to post a comment