消息监听方法定义返回值,消息无法出列,一直报错:Caused by: org.springframework.amqp.AmqpException: Cannot determine ReplyTo message property value: Request message does not contain reply-to property, and no default response Exchange was set.
我想要使用@CachePut接收生产者发送的id去查询数据库数据然后保存到redis里,方法又需要有返回值,这两者冲突如何解决?

Spring Cache和RabbitMQ冲突
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-