Exemplo n.º 1
0
 public RabbitHostedService(ILogger <RabbitHostedService> logger, IServiceScopeFactory serviceScopeFactory, IBus bus, IQueueResponseService responseService)
     : base(logger, serviceScopeFactory)
 {
     _bus             = bus;
     _responseService = responseService;
     _subscriber      = new AutoSubscriber(_bus, Assembly.GetExecutingAssembly().GetName().Name);
 }
 public SampleWorkQueueHandler(IQueueResponseService queueResponse)
 {
     _queueResponse = queueResponse;
 }