public ValidateCodelineProcessingService(DipsConfiguration configuration, ILogger log) : base(configuration, log, configuration.ValidateCodelineQueueName, configuration.ValidateTransactionExchangeName) { ValidateCodelineRequest = new ValidateCodelineRequestSubscriber(configuration, log, Consumer, InvalidExchange, InvalidRoutingKey, RecoverableRoutingKey); ValidateCodelineResponse = new ValidateCodelineResponsePollingJob(configuration, log, Exchange); }
protected SubscriberBase(DipsConfiguration configuration, ILogger logger, RabbitMqConsumer consumer, RabbitMqExchange invalidExchange, string invalidRoutingKey, string recoverableRoutingKey) { Log = logger; Configuration = configuration; Consumer = consumer; InvalidExchange = invalidExchange; InvalidRoutingKey = invalidRoutingKey; RecoverableRoutingKey = recoverableRoutingKey; }
public ValidateTransactionRequestSubscriber(DipsConfiguration configuration, ILogger logger, RabbitMqConsumer consumer, RabbitMqExchange invalidExchange, string invalidRoutingKey, string recoverableRoutingKey) : base(configuration, logger, consumer, invalidExchange, invalidRoutingKey, recoverableRoutingKey) { var transactionHelper = new BatchTransactionRequestMapHelper(new DateTimeProvider(), Configuration); QueueMapper = new ValidateBatchTransactionRequestToDipsQueueMapper(transactionHelper); VoucherMapper = new ValidateBatchTransactionRequestToDipsNabChqScanPodMapper(transactionHelper); DbIndexMapper = new ValidateBatchTransactionRequestToDipsDbIndexMapper(transactionHelper); }
public GenerateCorrespondingVoucherRequestSubscriber(DipsConfiguration configuration, ILogger logger, RabbitMqConsumer consumer, RabbitMqExchange invalidExchange, string invalidRoutingKey, string recoverableRoutingKey) : base(configuration, logger, consumer, invalidExchange, invalidRoutingKey, recoverableRoutingKey) { var helper = new GenerateCorrespondingVoucherRequestMapHelper(new DateTimeProvider(), Configuration); QueueMapper = new GenerateCorrespondingVoucherRequestToDipsQueueMapper(helper); VoucherMapper = new GenerateCorrespondingVoucherRequestToDipsNabChqScanPodMapper(helper); DbIndexMapper = new GenerateCorrespondingVoucherRequestToDipsDbIndexMapper(helper); }
public ProcessingService(DipsConfiguration configuration, ILogger log, string consumerName, string exchangeName) { Configuration = configuration; Log = log; InvalidRoutingKey = Configuration.InvalidRoutingKey; RecoverableRoutingKey = Configuration.RecoverableRoutingKey; ConsumerName = consumerName; ExchangeName = exchangeName; InitializeQueueConnection(); Consumer.ConnectionLost += Consumer_ConnectionLost; }
public GenerateCorrespondingVoucherProcessingService(DipsConfiguration configuration, ILogger log) : base(configuration, log, configuration.GenerateCorrespondingVoucherQueueName, configuration.GenerateCorrespondingVoucherExchangeName) { GenerateCorrespondingVoucherRequest = new GenerateCorrespondingVoucherRequestSubscriber(configuration, log, Consumer, InvalidExchange, InvalidRoutingKey, RecoverableRoutingKey); GenerateCorrespondingVoucherResponse = new GenerateCorrespondingVoucherResponsePollingJob(configuration, log, Exchange); }
public CheckThirdPartyProcessingService(DipsConfiguration configuration, ILogger log) : base(configuration, log, configuration.CheckThirdPartyQueueName, configuration.CheckThirdPartyExchangeName) { CheckThirdPartyRequest = new CheckThirdPartyRequestSubscriber(configuration, log, Consumer, InvalidExchange, InvalidRoutingKey, RecoverableRoutingKey); CheckThirdPartyResponse = new CheckThirdPartyResponsePollingJob(configuration, log, Exchange); }
public CorrectTransactionProcessingService(DipsConfiguration configuration, ILogger log) : base(configuration, log, configuration.CorrectTransactionQueueName, configuration.CorrectTransactionExchangeName) { CorrectTransactionRequest = new CorrectTransactionRequestSubscriber(configuration, log, Consumer, InvalidExchange, InvalidRoutingKey, RecoverableRoutingKey); CorrectTransactionResponse = new CorrectTransactionResponsePollingJob(configuration, log, Exchange); }
public ProcessingService(DipsConfiguration configuration, ILogger log) { Configuration = configuration; Log = log; ValidateCodelineResponse = new ValidateCodelineResponsePollingJob(configuration, log); }
public ValidateTransctionRequestProcessingService(DipsConfiguration configuration, ILogger log) : base(configuration, log, null, configuration.ValidateTransactionExchangeName) { ValidateTransactionRequest = new ValidateTransactionRequestSubscriber(configuration, log, Consumer, InvalidExchange, InvalidRoutingKey, RecoverableRoutingKey); }
public GetVouchersInformationResponseSubscriber(DipsConfiguration configuration, ILogger logger, RabbitMqConsumer consumer, RabbitMqExchange invalidExchange, string invalidRoutingKey, string recoverableRoutingKey) : base(configuration, logger, consumer, invalidExchange, invalidRoutingKey, recoverableRoutingKey) { }
public GetVouchersInformationProcessingService(DipsConfiguration configuration, ILogger log) : base(configuration, log, configuration.GetPoolVouchersQueueName, configuration.GetPoolVouchersExchangeName) { GetVoucherInformationResponse = new GetVouchersInformationResponseSubscriber(configuration, log, Consumer, InvalidExchange, InvalidRoutingKey, RecoverableRoutingKey); GetVoucherInformationRequest = new GetVouchersInformationRequestPollingJob(configuration, log, Exchange); }