RabbitMQ C# API Event based Message Consumption

后端 未结 3 471
忘了有多久
忘了有多久 2020-12-16 01:43
while (true)
{
    BasicDeliverEventArgs e = (BasicDeliverEventArgs)Consumer.Queue.Dequeue();
    IBasicProperties properties = e.BasicProperties;
    byte[] body =          


        
3条回答
  •  既然无缘
    2020-12-16 02:23

    use the RabbitMQ.Client.Events.EventingBasicConsumer for a eventing consumer instead of a blocking one.

提交回复
热议问题