/// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="exchangeName">Название обменника</param>
 /// <param name="queueName">Название очереди</param>
 /// <param name="routingKey">Ключ маршрутизации</param>
 public RabbitMqSynchronizationSender(string exchangeName, string queueName, string routingKey)
 {
     _rabbitMqClient = new RabbitMqSyncModule(exchangeName, queueName, routingKey);
 }
示例#2
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="queueName">Название очереди</param>
 public RabbitMqSynchronizationSubscriber(string queueName)
 {
     _rabbitMqClient = new RabbitMqSyncModule(queueName);
 }