public void FanoutSendMsg() { var send_msg = new NewOrderMessage { CreatedTime = DateTime.Now, OrderNum = "33333", PayType = 1, Price = 100M, ProductCode = 1, Source = Guid.NewGuid().ToString() }; ///fanout模式 rabbitMQProducer.FanoutSend(send_msg); }