public RabbitMQSink(RabbitMQConfiguration configuration, ITextFormatter formatter, IFormatProvider formatProvider) : base(configuration.BatchPostingLimit, configuration.Period) { _formatter = formatter ?? new RawFormatter(); _formatProvider = formatProvider; _client = new RabbitMQClient(configuration); }
public RabbitMQSink(RabbitMQConfiguration configuration, ITextFormatter formatter, IFormatProvider formatProvider) : base(configuration.BatchPostingLimit, configuration.Period) { _formatter = formatter ?? new RawFormatter(); _formatProvider = formatProvider; _client = new RabbitMQClient(configuration); }
public RabbitMQSink( RabbitMQConfiguration configuration, ITextFormatter formatter, IFormatProvider formatProvider ) { // prepare client _client = new RabbitMQClient(configuration); _formatProvider = formatProvider; _formatter = formatter ?? new RawFormatter(); }
public RabbitMQSink( RabbitMQConfiguration configuration, ITextFormatter formatter, IFormatProvider formatProvider ) { // prepare client _client = new RabbitMQClient(configuration); _formatProvider = formatProvider; _formatter = formatter ?? new RawFormatter(); }
public RabbitMQSink(RabbitMQClientConfiguration configuration, RabbitMQSinkConfiguration rabbitMQSinkConfiguration) : base(rabbitMQSinkConfiguration.BatchPostingLimit, rabbitMQSinkConfiguration.Period) { _formatter = rabbitMQSinkConfiguration.TextFormatter; _client = new RabbitMQClient(configuration); }