一:首先安装包 nuget引入程序集:RabbitMQ.Client 1.生产者确认 public class ProductionMessageConfirm { public static void Send() {