Exemplo n.º 1
0
        private void RabbitClient_MessageReceived(SimpleRabbitClient sender, QueueMessageEventArgs e)
        {
            this.BeginInvoke(new Action(() =>
            {
                addToReceivedMessages(e.QueueName, e.MessageData);
            }));

            e.IsProcessed = true;
        }