Authored by qinchao

mq时间test

... ... @@ -28,6 +28,7 @@ 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 = 20;
tradeMqSender.send(TopicConstants.BUYER_ORDER_SELLER_DELIVERY_CHECK, event, minutes);
}
}
... ...
... ... @@ -29,7 +29,7 @@ consumer:
- class: com.yohoufo.order.mq.consumer.BuyerOrderSellerDeliveryCheckMsgConsumer
topic: buyerOrder.sellerDeliveryCheck
delay:
interval: 1440
interval: 20
- class: com.yohoufo.order.mq.consumer.BuyerOrderCancelShamDeliveryMsgConsumer
topic: buyerOrder.cancelShamDeliver
... ...