一:首先安装包 nuget引入程序集:RabbitMQ.Client 1.生产者 /// <summary> /// ProducerWrites 写入消息 ConsumerConsumption 消费消息 /// </summary> public class ProducerWrites { public static void