public AuditLogCommandListener(IAuditLogRepository <LogEntry, long> repository, IEventReplayer eventReplayer, IRoutingKeyMatcher routingKeyMatcher, IEventBus eventBus) { _eventBus = eventBus; _repository = repository; _eventReplayer = eventReplayer; _routingKeyMatcher = routingKeyMatcher; _logger = AuditLogLoggerFactory.CreateInstance <AuditLogCommandListener>(); }
public EventReplayer(IEventBus eventBus) { _eventBus = eventBus; _replayExchangeName = string.Empty; _logger = AuditLogLoggerFactory.CreateInstance <EventReplayer>(); }
public AuditLogEventListener(IAuditLogRepository <LogEntry, long> repository) { _repository = repository; _logger = AuditLogLoggerFactory.CreateInstance <AuditLogEventListener>(); }