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);
 }
Example #2
0
 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 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);
 }
 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 CorrectCodelineProcessingService(DipsConfiguration configuration, ILogger log) 
     : base(configuration, log, configuration.CorrectCodelineQueueName, configuration.CorrectCodelineExchangeName)
 {
     CorrectCodelineRequest = new CorrectCodelineRequestSubscriber(configuration, log, Consumer, InvalidExchange, InvalidRoutingKey, RecoverableRoutingKey);
     CorrectCodelineResponse = new CorrectCodelineResponsePollingJob(configuration, log, Exchange);
 }
 public ValidateTransctionRequestProcessingService(DipsConfiguration configuration, ILogger log)
     : base(configuration, log, null, configuration.ValidateTransactionExchangeName)
 {
     ValidateTransactionRequest = new ValidateTransactionRequestSubscriber(configuration, log, Consumer, InvalidExchange,
         InvalidRoutingKey, RecoverableRoutingKey);
 }
Example #8
0
 public ProcessingService(DipsConfiguration configuration, ILogger log)
 {
     Configuration = configuration;
     Log = log;
     ValidateCodelineResponse = new ValidateCodelineResponsePollingJob(configuration, log);
 }