rabbitmq.yml
3.33 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
consumer:
- address: ${rabbit_ufo}
username: ${rabbit_ufo_user}
password: ${rabbit_ufo_password}
consumers:
- class: com.yohoufo.order.mq.consumer.SellerOrderAutoCancelDelayMsgConsumer
topic: sellerOrder.autoCancel
delay:
interval: 15
- 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.BuyerOrderMiniFaultOuterTimeDelayMsgConsumer
topic: buyerOrder.miniFaultAutoReject
delay:
interval: 1440
- class: com.yohoufo.order.mq.consumer.SellerOrderCancelDeliverDelayMsgConsumer
topic: sellerOrder.autoCancelDeliver
delay:
interval: 2160
#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: 1440
#春节期间发货时间延长的120小时
- class: com.yohoufo.order.mq.consumer.SellerOrderCancelDeliverDelayMsgConsumer120
topic: sellerOrder.autoCancelDeliver_120
delay:
interval: 7200
#春节期间二次发货提醒时间延长的108小时
- class: com.yohoufo.order.mq.consumer.NotDeliverNoticeDelayMsgConsumer
topic: order.notDeliver_108
delay:
interval: 6480
- address: ${rabbit_ufo}
username: ${rabbit_ufo_user}
password: ${rabbit_ufo_password}
consumers:
#更新物流调拨信息
- class: com.yohoufo.order.mq.consumer.ExpressInfoUpdateConsumer
topic: ufo.order.updateExpressInfo
# crm
- address: ${rabbit_crm_host}
username: ${rabbit_crm_user}
password: ${rabbit_crm_password}
consumers:
# CRM发券
- class: com.yohoufo.promotion.mq.CouponSendConsumer
topic: promotion.couponSend
ratelimit: 20
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