public MessagingPipelineContext(IMessenger messenger, ICommandIngester ingester, IIncomingMessageProcessor processor, ICompletitionTimeoutChecker completitionTimeoutChecker, IConfirmationTimeoutChecker confirmationTimeoutChecker, IIdGenerator idGenerator, IConfirmationFactory confirmationFactory) { Messenger = messenger ?? throw new ArgumentNullException(nameof(messenger)); Ingester = ingester ?? throw new ArgumentNullException(nameof(ingester)); Processor = processor ?? throw new ArgumentNullException(nameof(processor)); CompletitionTimeoutChecker = completitionTimeoutChecker ?? throw new ArgumentNullException(nameof(completitionTimeoutChecker)); ConfirmationTimeoutChecker = confirmationTimeoutChecker ?? throw new ArgumentNullException(nameof(confirmationTimeoutChecker)); IdGenerator = idGenerator ?? throw new ArgumentNullException(nameof(idGenerator)); ConfirmationFactory = confirmationFactory ?? throw new ArgumentNullException(nameof(confirmationFactory)); }
public IncomingMessageQueue(IIncomingMessageProcessor msgProcessor, MicrosoftChannels.ChannelWriter <long> writer) { _msgProcessor = msgProcessor; _writer = writer; }
public IncomingMessageQueue(ILogger logger, IIncomingMessageProcessor messageProcessor, IPerformanceRecorder performanceRecorder) { this.logger = logger; this.messageProcessor = messageProcessor; this.performanceRecorder = performanceRecorder; }
public MessageModule(IIncomingMessageProcessor incominMessageProcessor) { _incominMessageProcessor = incominMessageProcessor; SetupRoutes(); }