public ProducerServiceWorker( ILogger <ProducerServiceWorker> logger, IEventBusDispatcher eventBusDispatcher, IProducerWorkerConfigProvider producerWorkerConfigProvider) { _logger = logger; this.eventBusDispatcher = eventBusDispatcher; this.producerWorkerConfigProvider = producerWorkerConfigProvider; }
private static double Publish(IEventBusDispatcher publisher, List <Msg2> lst) { var sw = Stopwatch.StartNew(); foreach (var model in lst) { publisher.Publish(model); } sw.Stop(); return(sw.Elapsed.TotalMilliseconds); }
public IntegrationEventController(IEventBusDispatcher eventDispatch) { this.eventDispatch = eventDispatch; }
public ActiveCustomerCommandHandler(IEventBusDispatcher dispatcher) { _dispatcher = dispatcher; }
public ConsumerHostedService23(ILogger <ConsumerHostedService23> logger, IKafkaConsumerConnection connection, IServiceProvider services, IEventBusDispatcher bus) : base(logger, connection, services) { }
public RegisterCustomerCommandHandler(IEventBusDispatcher dispatcher) { _dispatcher = dispatcher; }
public ConfirmOrderCommandHandler(IEventBusDispatcher dispatcher) { _dispatcher = dispatcher; }
public CancelOrderCommandHandler(IEventBusDispatcher dispatcher) { _dispatcher = dispatcher; }
public PlaceOrderCommandHandler(IEventBusDispatcher dispatcher) { _dispatcher = dispatcher; }
public QueueModel(ILogger <QueueModel> logger, IEventBusDispatcher eventBusDispatcher) { this.logger = logger; this.eventBusDispatcher = eventBusDispatcher; }
public ExchangeModel(ILogger <ExchangeModel> logger, IEventBusDispatcher eventBusDispatcher) { this.logger = logger; this.eventBusDispatcher = eventBusDispatcher; }