Exemplo n.º 1
0
 public async Task Should_get_consumers()
 {
     foreach (var consumer in await managementClient.GetConsumersAsync().ConfigureAwait(false))
     {
         Console.Out.WriteLine("consumer.ConsumerTag = {0}", consumer.ConsumerTag);
         Console.Out.WriteLine("consumer.ChannelDetails.ConnectionName = {0}", consumer.ChannelDetails.ConnectionName);
         Console.Out.WriteLine("consumer.ChannelDetails.ConnectionName = {0}", consumer.ChannelDetails.ConnectionName);
         Console.Out.WriteLine("consumer.ChannelDetails.Node = {0}", consumer.ChannelDetails.Node);
     }
 }