Beispiel #1
0
 /// <summary>
 /// 基本模式:
 /// 生产者直接把消息发布到queue
 /// </summary>
 /// <returns></returns>
 public async Task PublishQueue()
 {
     await _RabbitMQClient.PublishAsync("Hello World!", "Q1");
 }