rabbitmq.yml
7.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
consumer:
- address: ${rabbit_ufo}
username: ${rabbit_ufo_user}
password: ${rabbit_ufo_password}
consumers:
- class: com.yohoufo.order.mq.consumer.BuyerOrderUnpaidReminderDelayMsgConsumer
topic: buyerOrder.unpaidReminder
delay:
interval: 720
- class: com.yohoufo.order.mq.consumer.BuyerOrderUnpaidReminderDelayMsgConsumer
topic: buyerOrder.unpaidReminder
delay:
interval: 1320
- class: com.yohoufo.order.mq.consumer.WaitingPayDepositBuyerOrderAutoCancelDelayMsgConsumer
topic: waitingPayDepositBuyerOrder.autoCancel
delay:
interval: 15
- class: com.yohoufo.order.mq.consumer.BuyerOrderAutoCancelDelayMsgConsumer
topic: buyerOrder.autoCancel
delay:
interval: 1440
- class: com.yohoufo.order.mq.consumer.BuyerOrderAutoCancelDelayNDayMsgConsumer
topic: buyerOrder.autoCancelAfterNDay
delay:
interval: 1440
- class: com.yohoufo.order.mq.consumer.BuyerOrderAutoCancelDelayNDayMsgConsumer
topic: buyerOrder.autoCancelAfterNDay
delay:
interval: 4320
- class: com.yohoufo.order.mq.consumer.BuyerOrderAutoCancelDelayNDayMsgConsumer
topic: buyerOrder.autoCancelAfterNDay
delay:
interval: 10080
- class: com.yohoufo.order.mq.consumer.BuyerOrderAutoCancelDelayNDayMsgConsumer
topic: buyerOrder.autoCancelAfterNDay
delay:
interval: 21600
- class: com.yohoufo.order.mq.consumer.BuyerOrderAutoCancelDelayNDayMsgConsumer
topic: buyerOrder.autoCancelAfterNDay
delay:
interval: 43200
- class: com.yohoufo.order.mq.consumer.SellerOrderAutoCancelDelayMsgConsumer
topic: sellerOrder.autoCancel
delay:
interval: 15
- class: com.yohoufo.order.mq.consumer.SellerOrderAutoCancelDelayMsgConsumer
topic: sellerOrder.autoCancel
delay:
interval: 2
- class: com.yohoufo.order.mq.consumer.BuyerOrderAutoCancelDelayMsgConsumer
topic: buyerOrder.autoCancel
delay:
interval: 10
- class: com.yohoufo.order.mq.consumer.BuyerOrderConfirmDelayMsgConsumer
topic: buyerOrder.autoConfirm
delay:
interval: 10080
- class: com.yohoufo.order.mq.consumer.BuyerOrderConfirmDelayMsgConsumer
topic: buyerOrder.autoConfirm
#瑕疵确认时间为48小时
- class: com.yohoufo.order.mq.consumer.BuyerOrderMiniFaultOuterTimeDelayMsgConsumer
topic: buyerOrder.miniFaultAutoReject
delay:
interval: 2880
#卖家物流揽收情况检查 24小时
- class: com.yohoufo.order.mq.consumer.BuyerOrderSellerDeliveryCheckMsgConsumer
topic: buyerOrder.sellerDeliveryCheck
delay:
interval: 1440
#卖家物流揽收情况检查 48小时
- class: com.yohoufo.order.mq.consumer.BuyerOrderSellerDeliveryCheckMsgConsumer
topic: buyerOrder.sellerDeliveryCheck
delay:
interval: 2880
#- class: com.yohoufo.order.mq.consumer.BuyerOrderCancelShamDeliveryMsgConsumer
# topic: buyerOrder.cancelShamDeliver
# delay:
# interval: 2880
#order.notPaidNotice
- class: com.yohoufo.order.mq.consumer.NotPaidNoticeDelayMsgConsumer
topic: order.notPaidNotice
delay:
interval: 5
- class: com.yohoufo.order.mq.consumer.NotDeliverNoticeDelayMsgConsumer
topic: order.notDeliver
delay:
interval: ${mq.seller.deliverNotice.second}
- class: com.yohoufo.order.mq.consumer.NotDeliverNoticeDelayMsgConsumer
topic: order.notDeliver
delay:
interval: 29520
- class: com.yohoufo.order.mq.consumer.NotDeliverNoticeDelayMsgConsumer
topic: order.notDeliver
delay:
interval: ${mq.seller.deliverNotice.lastTime}
- class: com.yohoufo.order.mq.consumer.SellerOrderCancelDeliverDelayMsgConsumer
topic: sellerOrder.autoCancelDeliver
delay:
interval: ${mq.seller.deliverNotice.third}
- class: com.yohoufo.order.mq.consumer.SellerOrderCancelDeliverDelayMsgConsumer
topic: sellerOrder.autoCancelDeliver
delay:
interval: 30240
# 平台鉴定不能确定补发优惠券回调
- class: com.yohoufo.order.mq.consumer.BuyerCouponSendResultForAppraiseUnsureConsumer
topic: buyerOrder.couponSendResultForAppraiseUnsure
ratelimit: 20
- class: com.yohoufo.order.mq.consumer.CustomsDeclarationMessageConsummer
topic: ufo.order.customsDeclaration
# promotion
# 发券
- class: com.yohoufo.promotion.mq.CouponSendWithTradeMqNotifyConsumer
topic: ufo.couponSendWithTradeMqNotify
ratelimit: 20
# 作废优惠券
- class: com.yohoufo.promotion.mq.InvalidateUserCouponConsumer
topic: ufo.invalidateUserCoupon
ratelimit: 20
# 香港卖家待结算
- class: com.yohoufo.order.mq.consumer.HkAmountWaitPaymentMessageConsummer
topic: order.hkAmountWaitPayment
ratelimit: 20
# 召回订单,库存记录状态变更为已完成
- class: com.yohoufo.order.mq.consumer.DepositFinishDeliveryDelayMsgConsumer
topic: deposit.finishDelivery
delay:
interval: 10080
- class: com.yohoufo.order.mq.consumer.SellerDepositOrderAutoCancelMsgConsumer
topic: sellerDepositOrder.autoCancel
delay:
interval: 10
- address: ${rabbit_ufo}
username: ${rabbit_ufo_user}
password: ${rabbit_ufo_password}
consumers:
#更新物流调拨信息
- class: com.yohoufo.order.mq.consumer.ExpressInfoUpdateConsumer
topic: ufo.order.updateExpressInfo
#ocr百度云开关
- address: ${rabbit_common}
username: ${rabbit_common_user}
password: ${rabbit_common_password}
consumers:
- class: com.yohoufo.user.consumer.OrcSwitchUpdateConsumer
topic: reviewed.ocr.limit
- address: ${rabbit_ufo}
username: ${rabbit_ufo_user}
password: ${rabbit_ufo_password}
consumers:
#物权转移确认超时
- class: com.yohoufo.product.mq.consumer.ProductOwnerConfirmDelayMsgConsumer
topic: productOwner.updateTimeOut
delay:
interval: 4320
# crm
- address: ${rabbit_crm_host}
username: ${rabbit_crm_user}
password: ${rabbit_crm_password}
consumers:
# CRM发券
- class: com.yohoufo.promotion.mq.CouponSendConsumer
topic: ufo.couponSend
ratelimit: 50
producer:
- address: ${rabbit_ufo}
username: ${rabbit_ufo_user}
password: ${rabbit_ufo_password}
producers:
- bean: tradeMqProducer
persistent: true
confirmcallback: orderMessageConfirmCallback
- address: ${rabbit_ufo}
username: ${rabbit_ufo_user}
password: ${rabbit_ufo_password}
producers:
- bean: yhProducer
- address: ${rabbit_common}
username: ${rabbit_common_user}
password: ${rabbit_common_password}
producers:
- bean: ufoExpressInfoProducer
# crm
- address: ${rabbit_crm_host}
username: ${rabbit_crm_user}
password: ${rabbit_crm_password}
producers:
- bean: crmMqProducer
trace: true