Example #1
0
 public OutboxBehavior(Repository <T> repository, IDispatchMessages dispatcher, IInboxStore inboxStore,
                       IOutboxStore outboxStore, Func <object, string> getId)
 {
     this.repository  = repository;
     this.dispatcher  = dispatcher;
     this.inboxStore  = inboxStore;
     this.getId       = getId;
     this.outboxStore = outboxStore;
 }
Example #2
0
 public SagaManager(ISagaPersister sagaPersister, ITokenStore tokenStore, IOutboxStore outboxStore,
                    ITransientMessageStateStore transientMessageStateStore, IDispatchMessages dispatcher)
 {
     this.sagaPersister = sagaPersister;
     this.tokenStore    = tokenStore;
     this.dispatcher    = dispatcher;
     this.outboxStore   = outboxStore;
     this.transientMessageStateStore = transientMessageStateStore;
 }
Example #3
0
 public OutboxListener(IOutboxStore outboxStore)
 {
     _outboxStore = outboxStore;
 }
 public OutboxListener(IOutboxStore store)
 {
     _store = store;
 }
 public SagaManager(ISagaPersister sagaPersister, IOutboxStore outboxStore, IDispatchMessages dispatcher)
 {
     this.sagaPersister = sagaPersister;
     this.outboxStore   = outboxStore;
     this.dispatcher    = dispatcher;
 }
Example #6
0
 public TestingOutbox(Func <string, Task> barrier, IOutboxStore impl)
 {
     this.barrier = barrier;
     this.impl    = impl;
 }
Example #7
0
 public OutboxProcessor(IEventListener eventListener, IOptions <OutboxOptions> options, IOutboxStore store)
 {
     _eventListener = eventListener;
     _store         = store;
     _outboxOptions = options.Value;
 }