java项目中调用mq,出现以下错误:
org.springframework.messaging.MessagingException: No route info of this topic: XXX
See http://rocketmq.apache.org/docs/faq/ for further details.; nested exception is org.apache.rocketmq.client.exception.MQClientException: No route info of this topic: MSGTIP
See http://rocketmq.apache.org/docs/faq/ for further details.
at org.apache.rocketmq.spring.core.RocketMQTemplate.sendOneWay(RocketMQTemplate.java:811) ~[rocketmq-spring-boot-2.1.1.jar!/:2.1.1]
问题解决:
mq的broker服务没启动或者挂掉了,重新启动就好