...
|
...
|
@@ -17,7 +17,7 @@ import org.springframework.stereotype.Component; |
|
|
public class SellerCancelDeliverHandler implements IEventHandler<SellerCancelDeliverEvent> {
|
|
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(getClass());
|
|
|
public static final int DELAY_MINUTES_48_HOURS = 48 * 60 ;
|
|
|
public static final int DELAY_MINUTES_36_HOURS = 36 * 60 ;
|
|
|
|
|
|
@Autowired
|
|
|
private TradeMqSender tradeMqSender;
|
...
|
...
|
@@ -27,6 +27,6 @@ public class SellerCancelDeliverHandler implements IEventHandler<SellerCancelDel |
|
|
public void handle(SellerCancelDeliverEvent event) {
|
|
|
logger.info("Subscribe Buyer Confirm delay msg, event {}", event);
|
|
|
|
|
|
tradeMqSender.send(TopicConstants.SELLER_ORDER_AUTO_CANCEL_DELIVER, event, DELAY_MINUTES_48_HOURS);
|
|
|
tradeMqSender.send(TopicConstants.SELLER_ORDER_AUTO_CANCEL_DELIVER, event, DELAY_MINUTES_36_HOURS);
|
|
|
}
|
|
|
} |
...
|
...
|
|