CustomController { @GetMapping("/customSend") public void send() { customSender.sendMsg("delay_queue_1","支付超时！"); }  @GetMapping("/customSend") void send();  }
@Test public void send() { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); customSender.sendMsg("delay_queue_1","支付超时，取消订单通知！"); }