Esempio n. 1
0
 private void ConsumeTask(TestMessage message)
 {
     Console.WriteLine("TestMessageConsumerAsync received message with TestString:" + message.TestString);
     ConsumerCounter.IncrementCounter();
 }
Esempio n. 2
0
 public void Consume(TestMessage message)
 {
     Console.WriteLine("TestMessageConsumerSync received message with TestString:" + message.TestString);
     ConsumerCounter.IncrementCounter();
 }