Example #1
0
        static void OnAmqpQueueMessageReceived(AmqpQueueReceivedMessage received)
        {
            // Decode the body as UTF8 text
            var payload = System.Text.Encoding.UTF8.GetString(received.Message.Body);

            Console.WriteLine("[rx] {0} {1}:{2} => {3}", DateTime.Now, queueName, routingKey, payload);
        }
Example #2
0
 public void HandleQueueMessage(AmqpQueueReceivedMessage received)
 {
 }