public void Subscribe <TE, TH>() where TE : IntegrationEvent where TH : IIntegrationEventHandler <TE> { string routingKey = typeof(TE).Name; _subsManager.AddSubscription <TE, TH>(); var handler = _subsManager.GetHandlerType(routingKey); //internalSubscription, bu routing Key'deki mesajlarla ilgileniyorum, queue'ma gelsin. this._consumerChannel.QueueBind(this._queueName, this.exchange_Name, routingKey, null); _logger.LogInformation(" [x] Queue {0} subscribed for routingKey: {1} with eventHandler: {2}", this._queueName, routingKey, typeof(TH).Name); }