Authored by qinchao

48小时物流检查 mq测试

... ... @@ -29,9 +29,11 @@ public class BuyerOrderSellerDeliveryCheckHandler implements IEventHandler<Buyer
public void handle(BuyerOrderSellerDeliveryCheckEvent event) {
logger.info("Subscribe Buyer Order Seller Delivery Event delay msg,event {}" ,event);
int minutes = DelayTime.MINUTES_24_HOURS ;
minutes = 14;
tradeMqSender.send(TopicConstants.BUYER_ORDER_SELLER_DELIVERY_CHECK, event, minutes);
int minutes_again=DelayTime.MINUTES_48_HOURS;
minutes_again = 28;
tradeMqSender.send(TopicConstants.BUYER_ORDER_SELLER_DELIVERY_CHECK, event, minutes_again);
}
}
... ...
... ... @@ -29,13 +29,13 @@ consumer:
- class: com.yohoufo.order.mq.consumer.BuyerOrderSellerDeliveryCheckMsgConsumer
topic: buyerOrder.sellerDeliveryCheck
delay:
interval: 1440
interval: 14
#卖家物流揽收情况检查 48小时
- class: com.yohoufo.order.mq.consumer.BuyerOrderSellerDeliveryCheckMsgConsumer
topic: buyerOrder.sellerDeliveryCheck
delay:
interval: 2880
interval: 28
#- class: com.yohoufo.order.mq.consumer.BuyerOrderCancelShamDeliveryMsgConsumer
# topic: buyerOrder.cancelShamDeliver
... ...