1.优化mq配置,添加默认数据源和默认队列
Showing
2 changed files
with
41 additions
and
23 deletions
This diff is collapsed.
Click to expand it.
... | @@ -79,7 +79,7 @@ mutil-mq: | ... | @@ -79,7 +79,7 @@ mutil-mq: |
79 | # password: Topdraw1qaz | 79 | # password: Topdraw1qaz |
80 | # 虚拟空间 | 80 | # 虚拟空间 |
81 | # virtual-host: member_center_iptv_sichuan | 81 | # virtual-host: member_center_iptv_sichuan |
82 | virtual-host: member_center_iptv_chongshu | 82 | virtual-host: user_center |
83 | publisher-confirms: true #如果对异步消息需要回调必须设置为true | 83 | publisher-confirms: true #如果对异步消息需要回调必须设置为true |
84 | 84 | ||
85 | # 管理侧 | 85 | # 管理侧 |
... | @@ -99,42 +99,60 @@ mutil-mq: | ... | @@ -99,42 +99,60 @@ mutil-mq: |
99 | service: | 99 | service: |
100 | mq: | 100 | mq: |
101 | list: | 101 | list: |
102 | - source: event | 102 | # - source: event |
103 | exchange: event.exchange | 103 | # exchange: event.exchange |
104 | queue: event.queue | 104 | # queue: event.queue |
105 | # exchange-type: direct | ||
106 | # routing-key: | ||
107 | # active: service | ||
108 | - source: collection | ||
109 | exchange: userCenter_exchange | ||
110 | queue: queue.collection.add | ||
105 | exchange-type: direct | 111 | exchange-type: direct |
106 | routing-key: | 112 | routing-key: route.UserCollection.add |
107 | active: service | 113 | active: service |
108 | - source: collection | 114 | - source: collection |
109 | exchange: collection.exchange | 115 | exchange: userCenter_exchange |
110 | queue: collection.queue | 116 | queue: queue.collection.delete |
111 | exchange-type: direct | 117 | exchange-type: direct |
112 | routing-key: service | 118 | routing-key: route.UserCollection.delete |
113 | active: service | 119 | active: service |
114 | - source: viewRecord | 120 | - source: collection |
115 | exchange: viewRecord.exchange | 121 | exchange: userCenter_exchange |
116 | queue: viewRecord.queue | 122 | queue: queue.collection.deleteall |
117 | exchange-type: direct | 123 | exchange-type: direct |
118 | routing-key: | 124 | routing-key: route.UserCollection.deleteall |
119 | active: service | 125 | active: service |
120 | - source: eventBus | 126 | - source: collection |
121 | exchange: uc.eventbus | 127 | exchange: exchange.collection |
122 | queue: uc.eventbus | 128 | queue: collection.queue |
123 | exchange-type: topic | 129 | exchange-type: direct |
124 | routing-key: uc.eventbus.*.topic | 130 | routing-key: |
125 | active: service | 131 | active: service |
132 | # - source: viewRecord | ||
133 | # exchange: viewRecord.exchange | ||
134 | # queue: viewRecord.queue | ||
135 | # exchange-type: direct | ||
136 | # routing-key: | ||
137 | # active: service | ||
138 | # - source: eventBus | ||
139 | # exchange: uc.eventbus | ||
140 | # queue: uc.eventbus | ||
141 | # exchange-type: topic | ||
142 | # routing-key: uc.eventbus.*.topic | ||
143 | # active: service | ||
126 | - source: uce | 144 | - source: uce |
127 | exchange: uce.exchange | 145 | exchange: uce.exchange |
128 | queue: uce.queue | 146 | queue: uce.queue |
129 | exchange-type: direct | 147 | exchange-type: direct |
130 | routing-key: | 148 | routing-key: |
131 | active: management | 149 | active: management |
132 | - source: wechat | 150 | # - source: wechat |
133 | exchange: weixin.subOrUnSub.direct | 151 | # exchange: weixin.subOrUnSub.direct |
134 | queue: weixin.subOrUnSub.queue | 152 | # queue: weixin.subOrUnSub.queue |
135 | exchange-type: direct | 153 | # exchange-type: direct |
136 | routing-key: | 154 | # routing-key: |
137 | active: | 155 | # active: active |
138 | error: | 156 | error: |
139 | logs: | 157 | logs: |
140 | list: | 158 | list: | ... | ... |
-
Please register or sign in to post a comment