public RabbitMQSubscriber(RabbitMQConnectionWrapper connection,
                           JsonSerializerCommon serializer,
                           ILogger <RabbitMQSubscriber> logger,
                           IOptions <RabbitMQSettings> settings)
 {
     _connection = connection.Connection;
     _serializer = serializer;
     _logger     = logger;
     _settings   = settings.Value;
 }
 public RabbitMQPublisher(RabbitMQConnectionWrapper connection, JsonSerializerCommon serializer)
 {
     _connection = connection.Connection;
     _serializer = serializer;
 }
Esempio n. 3
0
 public RabbitMQPublisher(RabbitMQConnectionWrapper connection)
 {
     _connection = connection.Connection;
 }
Esempio n. 4
0
 public RabbitMQSubscriber(RabbitMQConnectionWrapper connection, JsonSerializerCommon serializer, ILogger <RabbitMQSubscriber> logger)
 {
     _connection = connection.Connection;
     _serializer = serializer;
     _logger     = logger;
 }
 public RabbitMQSubscriber(RabbitMQConnectionWrapper connection, ILogger <RabbitMQSubscriber> logger)
 {
     _connection = connection.Connection;
     _logger     = logger;
 }