public RabbitMQMessageBusBroker(IRabbitMQConnectionProvider rabbitMQConnectionProvider, IHostNameProvider hostNameProvider) { _rabbitMQConnectionProvider = rabbitMQConnectionProvider; _hostNameProvider = hostNameProvider; _connectionString = _rabbitMQConnectionProvider.GetConnectionString(ConnectionStringKey); _connection = _rabbitMQConnectionProvider.GetConnection(_connectionString); }
public RabbitMQExchangeHostedService( IOptions <RabbitMQOptions> options, IRabbitMQConnectionProvider connectionProvider) { this.options = options.Value; this.connectionProvider = connectionProvider; }
public RabbitMQConsumerHostedService( IServiceProvider serviceProvider, IOptions <RabbitMQOptions> options, IRabbitMQConnectionProvider connectionProvider) { this.options = options.Value; this.serviceProvider = serviceProvider; this.connectionProvider = connectionProvider; }
public RabbitMQMessageService(IRabbitMQConnectionProvider connectionProvider) { ConnectionProvider = connectionProvider; }
public RabbitMQNotificationProvider(IRabbitMQConnectionProvider rabbitMQConnectionProvider) { _rabbitMQConnectionProvider = rabbitMQConnectionProvider; T = NullLocalizer.Instance; }