rabbitmq.yml
1.43 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
consumer:
- address: 192.168.102.45:5672
username: yoho
password: yoho
consumers:
#更新物流调拨信息
- class: com.yohoufo.order.mq.consumer.ExpressInfoUpdateConsumer
topic: ufo.order.updateExpressInfo
- 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: 15
- class: com.yohoufo.order.mq.consumer.BuyerOrderConfirmDelayMsgConsumer
topic: buyerOrder.autoConfirm
delay:
interval: 10080
- class: com.yohoufo.order.mq.consumer.SellerOrderCancelDeliverDelayMsgConsumer
topic: sellerOrder.autoCancelDeliver
delay:
interval: 2880
producer:
- address: 192.168.102.45:5672
producers:
- bean: browseProducer #only once named in classpath
- address: 192.168.102.45:5672
producers:
- bean: yhProducer
- address: 192.168.103.58:5672
username: yoho
password: yoho
producers:
- bean: tradeMqProducer
persistent: true
confirmcallback: orderMessageConfirmCallback