Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis

gdyrrahitis/LogConsumer.cs Secret

Created May 23, 2020
Embed
What would you like to do?
var consumer = new AsyncEventingBasicConsumer(Channel);
consumer.Received += OnEventReceived<LogCommand>;
Channel.BasicConsume(queue: QueueName, autoAck: false, consumer: consumer);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment