### Question:
Demo04Producer { public SendResult syncSend(Integer id) { Demo04Message message = new Demo04Message(); message.setId(id); return rocketMQTemplate.syncSend(Demo04Message.TOPIC, message); }  SendResult syncSend(Integer id);  }### Answer:
@Test public void testSyncSend() throws InterruptedException { int id = (int) (System.currentTimeMillis() / 1000); SendResult result = producer.syncSend(id); logger.info("[testSyncSend][发送编号：[{}] 发送结果：[{}]]", id, result); new CountDownLatch(1).await(); }