1.引入相关jar包 //RabbitMQ compile group: 'org.springframework.amqp', name: 'spring-rabbit', version: '1.6.6.RELEASE'compile group: 'org.springframework.integration', name: 'spring-integration-amqp', version: '4.3.5.RELEAS 生产者配置 2.实现一个消息处理器,继承自org.springf…