### Question:
Demo01Producer { public void syncSend(Integer id) { Demo01Message message = new Demo01Message(); message.setId(id); jmsTemplate.convertAndSend(Demo01Message.QUEUE, message); }  void syncSend(Integer id); @Async ListenableFuture<Void> asyncSend(Integer id);  }### Answer:
@Test public void testSyncSend() throws InterruptedException { int id = (int) (System.currentTimeMillis() / 1000); producer.syncSend(id); logger.info("[testSyncSend][发送编号：[{}] 发送成功]", id); new CountDownLatch(1).await(); }