spring.rabbitmq.publisher-confirms过时解决 在properties文件中确认消息报红 因为源码中过时配置级别设置了Error 新版本jar包配置换了就可以了 spring.rabbitmq.publisher-confirm-type=correlated 1.
image.png 把spring.rabbitmq.publisher-confirms=true 改成spring.rabbitmq.publisher-confirm-type=correlated