Ejemplo n.º 1
0
 public BusSubscriptionsWithOutbox(ILogger <BusSubscriptionsWithOutbox> logger, IOutboxRepository repository, RepeatingTimer timer)
 {
     this.logger       = logger;
     this.repository   = repository;
     this.timer        = timer;
     this.timer.OnTick = OnTick;
 }
Ejemplo n.º 2
0
 public OutboxProcessor(IOutboxRepository outboxRepository,
                        IPublisher publisher,
                        ILogger <OutboxProcessor> logger)
 {
     _outboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(outboxRepository));
     _logger           = logger ?? throw new ArgumentNullException(nameof(logger));
     _publisher        = publisher ?? throw new ArgumentNullException(nameof(publisher));
 }
Ejemplo n.º 3
0
 public SagaStateService(ISagaStateFactory <TD> sagaStateFactory,
                         ISagaStateRepository sagaStateRepository,
                         IOutboxRepository outboxRepository)
 {
     _sagaStateFactory    = sagaStateFactory ?? throw new ArgumentNullException(nameof(sagaStateFactory));
     _sagaStateRepository = sagaStateRepository ?? throw new ArgumentNullException(nameof(sagaStateRepository));
     _outboxRepository    = outboxRepository ?? throw new ArgumentNullException(nameof(outboxRepository));
 }
Ejemplo n.º 4
0
 public OutboxService(IOutboxRepository _repo)
 {
     repo = _repo;
 }
Ejemplo n.º 5
0
 public OutboxCleaner(IOutboxRepository outboxRepository, OutboxCleanerOptions options)
 {
     _outboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(outboxRepository));
     _options          = options ?? throw new ArgumentNullException(nameof(options));
 }
Ejemplo n.º 6
0
 public DefaultMessageBus(IOutboxRepository outboxRepository)
 {
     _outboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(outboxRepository));
 }
Ejemplo n.º 7
0
 public OutboxCleaner(IOutboxRepository outboxRepository)
 {
     _outboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(outboxRepository));
 }
 public OutboxManager(IOutboxDispatcher dispatcher,
                      IOutboxRepository repository)
 {
     _dispatcher = dispatcher;
     _repository = repository;
 }
 public OutboxController(IOutboxRepository outboxRepo)
 {
     _outboxRepo = outboxRepo;
 }