static void Main(string[] args) { AmqpMessagingService messagingService = new AmqpMessagingService(); IConnection connection = messagingService.GetRabbitMqConnection(); IModel model = connection.CreateModel(); messagingService.ReceiveOneWayMessages(model); }
public static void ReceiveOneWayMessageQueue() { AmqpMessagingService messagingService = new AmqpMessagingService(); IConnection connection = messagingService.GetRabbitMqConnection(); IModel model = connection.CreateModel(); messagingService.ReceiveOneWayMessages(model); }