public QueueProcessor( IQueueMessageMapperRegistry mapperRegistry, IQueueMessageMapperFactory mapperFactory, IQueueClientFactory clientFactory) { _mapperRegistry = mapperRegistry; _mapperFactory = mapperFactory; _clientFactory = clientFactory; }
public RmqDispatcher( IServiceProvider serviceProvider, RmqConnectionDetails connectionDetails, RmqChannelFactory channelFactory, IQueueMessageMapperRegistry registry, IQueueMessageMapperFactory factory) { _serviceProvider = serviceProvider; _commands = new Dictionary <string, Type>(); _channelFactory = channelFactory; _connectionDetails = connectionDetails; _registry = registry; _factory = factory; _commandChannels = new Dictionary <string, IModel>(); }