简单的消息交互案例 1 依赖引入 <!-- 引入RabbitMQ客户端依赖 --> <dependency> <groupId>com.rabbitmq</groupId> <artifactId>amqp-client</artifactId> </dependency> 2 设置连接M