Beispiel #1
0
 public MessageQueueAzureStorageQueue(CloudQueueClient queueClient,
                                      MessageQueueOptions options,
                                      IMessageQueueInfo info)
 {
     _queueClient = queueClient;
     _options     = options;
     _info        = info;
 }
Beispiel #2
0
 public MessageQueueSqs(IAmazonSQS amazonSQS,
                        MessageQueueOptions options,
                        IMessageQueueInfo queueInfo)
 {
     _amazonSqs = amazonSQS;
     _options   = options;
     _queueInfo = queueInfo;
 }
Beispiel #3
0
 public MessageQueueRabbitMq(IConnection connection,
                             MessageQueueOptions options,
                             IMessageQueueInfo info)
 {
     _channel    = connection.CreateModel();
     _connection = connection;
     _options    = options;
     _info       = info;
 }
Beispiel #4
0
 public MessageQueueKafka(IConsumer <Ignore, string> consumer,
                          IProducer <Null, string> producer,
                          MessageQueueOptions options,
                          IMessageQueueInfo info)
 {
     _consumer = consumer;
     _producer = producer;
     _options  = options;
     _info     = info;
 }
Beispiel #5
0
 public HealthCheckAzureStorageQueue(CloudQueueClient cloudQueueClient, IMessageQueueInfo info, int healthCheckInterval = 1) : base(healthCheckInterval)
 {
     _cloudQueueClient = cloudQueueClient;
     _queueName        = info.GetQueueName(typeof(T));
 }
Beispiel #6
0
 public HealthCheckKafka(IConsumer <Ignore, string> consumer, IMessageQueueInfo info, int healthCheckInterval = 1) : base(healthCheckInterval)
 {
     _consumer  = consumer;
     _queueName = info.GetTopicName(typeof(T));
 }
Beispiel #7
0
 public HealthCheckSqs(IAmazonSQS amazonSQS, IMessageQueueInfo info, int healthCheckInterval = 1) : base(healthCheckInterval)
 {
     _amazonSqs = amazonSQS;
     _queueUrl  = info.GetQueueName(typeof(T));
 }
Beispiel #8
0
 public HealthCheckRabbitMq(IModel channel, IMessageQueueInfo info, int healthCheckInterval = 1) : base(healthCheckInterval)
 {
     _channel      = channel;
     _queueName    = info.GetQueueName(typeof(T));
     _exchangeName = info.GetExchangeName(typeof(T));
 }