public ReviewsExceptionHandler( IRabbitMqProducer <ReviewsExceptionPayload> producer, IOptions <ReviewsConfiguration> configuration, IHttpContextAccessor accessor) { this.producer = producer; this.configuration = configuration.Value; this.accessor = accessor; }
public BasicDataController(ICouponService couponService, IBannerService bannerService, IProductInformationService productService, IOrderService orderService, IOrderDetailService orderDetailService, IProductDetailService productDetailService, ITransactionService transactionService, ILogger <BasicDataController> logger, IRabbitMqProducer mqProducer) { _couponService = couponService; _bannerService = bannerService; _orderService = orderService; _productService = productService; _orderDetailService = orderDetailService; _productDetailService = productDetailService; _transactionService = transactionService; _logger = logger; _mqProducer = mqProducer; }
public OrderService(IRabbitMqProducer <OrderCommand> producer) { _producer = producer; }
public LogBackgroundTask(IRabbitMqProducer <LogIntegrationEvent> producer) => _producer = producer;
public RabbitmqMessagePublisher(IRabbitMqProducer rabbitMqProducer, IReadOnlyCollection <ConsumerDescriptor> mapping) { this.rabbitMqProducer = rabbitMqProducer; this.mapping = mapping; }
/// <summary> /// Initializes a new instance of the <seealso cref="ProjectController"/> WebAPI controller. /// </summary> /// <param name="projectDetailRepository">Injectable custom <seealso cref="IProjectDetailRepository"/> instance for manaing project details.</param> public ProjectController(IProjectDetailRepository projectDetailRepository, IRabbitMqProducer rabbitMqProducer) { _projectDetailRepository = projectDetailRepository; _rabbitMqProducer = rabbitMqProducer; }
public RabbitmqMessagePublisher(IRabbitMqProducer rabbitMqProducer) { this.rabbitMqProducer = rabbitMqProducer; }