public RemoveFromReadQueueAspect(IHandleMessage <Message> action, IReadMessageContext context, IBusConfig config, ILogMessages logger) { _context = context; _config = config; _logger = logger; _inner = action; }
public StudentController(IMapper mapper, Messages messages, IBusConfig busConfig) { _mapper = mapper; _messages = messages; _busConfig = busConfig; }
public HandleMessageMiddleware(IHandlerCache handlerCache, IServiceProvider serviceProvider, IBusConfig busConfig, ILogger <HandleMessageMiddleware> logger) { this.handlerCache = handlerCache ?? throw new ArgumentNullException(nameof(handlerCache)); this.serviceProvider = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider)); this.busConfig = busConfig ?? throw new ArgumentNullException(nameof(busConfig)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public Host(IBusConfig busConfig, ITaskRunner taskRunner) { this.busConfig = busConfig ?? throw new ArgumentNullException(nameof(busConfig)); this.taskRunner = taskRunner ?? throw new ArgumentNullException(nameof(taskRunner)); ConfigureLogging(); }
public MemoryBus(IBusConfig config) { _config = config; _pubSubBus = new PublishSubscribeBus(); _reqRespBus = new RequestRespondBus(); _streamingReqRespBus = new RequestRespondStreamingBus(); }
public Bus(IBusConfig config, ILogMessages logger, IMessageQueue errorQueue, IMessageQueue readQueue, IEnumerable <IMessageQueue> writeQueues) { _config = config; _logger = logger; _errorQueue = errorQueue; _readQueue = readQueue; _writeQueueManager = new WriteQueueManager(_config.AutoDistributeOnSend, writeQueues); }
public Bus(IBusConfig config, ILogMessages logger, IMessageQueue errorQueue, IMessageQueue readQueue, IEnumerable <IMessageQueue> writeQueues) { _config = config; _logger = logger; _errorQueue = errorQueue; _readQueue = readQueue; _writeQueues = writeQueues; }
public Application(IBusConfig busConfig) { _busConfig = busConfig; }
public SendMessageHandler(IWriteMessageContext context, IBusConfig config, ILogMessages logger) { _context = context; _config = config; _logger = logger; }
public BusFactory(IBusConfig busConfig, ILogger <RabbitBus> logger) { this.busConfig = busConfig; this.logger = logger; }
public HandleMessageMiddleware(IHandlerCache handlerCache, IObjectFactory objectFactory, IBusConfig busConfig) { this.handlerCache = handlerCache ?? throw new ArgumentNullException(nameof(handlerCache)); this.objectFactory = objectFactory ?? throw new ArgumentNullException(nameof(objectFactory)); this.busConfig = busConfig ?? throw new ArgumentNullException(nameof(busConfig)); }
public ReceiveMessageHandler(List <Delegate> handlers, IBusConfig config, ILogMessages logger) { _handlers = handlers; _config = config; _logger = logger; }
public DiscardFailuresAspect(IHandleMessage <Message> action, IBusConfig config, ILogMessages logger) { _inner = action; _config = config; _logger = logger; }
public RabbitMQPublishingChannel(IChannelFactory cf, IBusConfig busConfig) : base(cf) { this.busConfig = busConfig ?? throw new ArgumentNullException(nameof(busConfig)); }
public WorkerStartupTask(IBusConfig busConfig, IObjectFactory objectFactory, IHandlerCache handlerCache) { this.busConfig = busConfig ?? throw new ArgumentNullException(nameof(busConfig)); this.objectFactory = objectFactory ?? throw new ArgumentNullException(nameof(objectFactory)); this.handlerCache = handlerCache ?? throw new ArgumentNullException(nameof(handlerCache)); }
public BusBuilder() { _config = new BusConfig(); }
public Application(IBusConfig busConfig) { _busConfig = busConfig; _paymentSaga = new PaymentSaga(); _repo = new InMemorySagaRepository <PaymentSagaStatus>(); }
public Application(IBusConfig busConfig, Messages messages) { _busConfig = busConfig; _messages = messages; }
public SubscriptionManager(IChannelFactory channelFactory, IBusConfig busConfig) { this.channelFactory = channelFactory ?? throw new ArgumentNullException(nameof(channelFactory)); this.busConfig = busConfig ?? throw new ArgumentNullException(nameof(busConfig)); }
public CollectPaymentCommandHandler(IRepository repository, IBusConfig busConfig) { _repository = repository; _busConfig = busConfig; }
public CopyMessageHandler(IWriteMessageContext toContext, IBusConfig config, ILogMessages logger) { _toContext = toContext; _config = config; _logger = logger; }
public MsmqSubscriptionStorage(IBusConfig busConfig, IBodySerializer bodySerializer) { this.bodySerializer = bodySerializer ?? throw new ArgumentNullException(nameof(bodySerializer)); this.busConfig = busConfig ?? throw new ArgumentNullException(nameof(busConfig)); }
public FailFastAspect(IHandleMessage <Message> action, IBusConfig config, ILogMessages logger) { _inner = action; _config = config; _logger = logger; }
public HandleErrorMessageMiddleware(ISendingChannel sendingChannel, IBusConfig busConfig) { this.sendingChannel = sendingChannel ?? throw new ArgumentNullException(nameof(sendingChannel)); this.busConfig = busConfig ?? throw new ArgumentNullException(nameof(busConfig)); }
public ChannelFactory(IRabbitMQConfig rabbitCfg, IBusConfig busCfg) { this.rabbitCfg = rabbitCfg; endpointName = busCfg.EndpointName; CreateConnection(); }