Пример #1
0
 static void HandleConsumerOnMessageReceived(object sender, MessageEventArgs args)
 {
     Console.WriteLine("Message Received from channel <  " + args.GetChannel() + " > with data <  " + args.GetMessage() + " >");
     consumer.Unsubscribe();
 }