use new config item 2 set mq delay ttl
Showing
3 changed files
with
4 additions
and
1 deletions
@@ -137,6 +137,8 @@ mq.seller.deliverNotice.old.second=6480 | @@ -137,6 +137,8 @@ mq.seller.deliverNotice.old.second=6480 | ||
137 | #old发货失败提醒 120*60 | 137 | #old发货失败提醒 120*60 |
138 | mq.seller.deliverNotice.old.third=7200 | 138 | mq.seller.deliverNotice.old.third=7200 |
139 | 139 | ||
140 | +mq.seller.deliver.limitTime.delay=2160,2880,4320,5760,7200,8640,10080 | ||
141 | + | ||
140 | yoho.gateway.url=http://api-test3.dev.yohocorp.com | 142 | yoho.gateway.url=http://api-test3.dev.yohocorp.com |
141 | 143 | ||
142 | ufo.platform.url=http://java-ufo-platform.test3.ingress.dev.yohocorp.com/ufoPlatform | 144 | ufo.platform.url=http://java-ufo-platform.test3.ingress.dev.yohocorp.com/ufoPlatform |
@@ -108,6 +108,7 @@ mq.seller.deliverNotice.old.second=6480 | @@ -108,6 +108,7 @@ mq.seller.deliverNotice.old.second=6480 | ||
108 | #old发货失败提醒 120*60 | 108 | #old发货失败提醒 120*60 |
109 | mq.seller.deliverNotice.old.third=7200 | 109 | mq.seller.deliverNotice.old.third=7200 |
110 | 110 | ||
111 | +mq.seller.deliver.limitTime.delay=${mq.seller.deliver.limitTime.delay} | ||
111 | 112 | ||
112 | yoho.gateway.url=${yoho.gateway.url} | 113 | yoho.gateway.url=${yoho.gateway.url} |
113 | 114 |
@@ -118,7 +118,7 @@ consumer: | @@ -118,7 +118,7 @@ consumer: | ||
118 | - class: com.yohoufo.order.mq.consumer.SellerOrderCancelDeliverDelayMsgConsumer | 118 | - class: com.yohoufo.order.mq.consumer.SellerOrderCancelDeliverDelayMsgConsumer |
119 | topic: sellerOrder.autoCancelDeliver | 119 | topic: sellerOrder.autoCancelDeliver |
120 | delay: | 120 | delay: |
121 | - interval: ${mq.seller.deliverNotice.third} | 121 | + interval: ${mq.seller.deliver.limitTime.delay} |
122 | 122 | ||
123 | 123 | ||
124 | - class: com.yohoufo.order.mq.consumer.SellerOrderCancelDeliverDelayMsgConsumer | 124 | - class: com.yohoufo.order.mq.consumer.SellerOrderCancelDeliverDelayMsgConsumer |
-
Please register or login to post a comment