public void SubscribeDynamic <TH>(string eventName) where TH : IDynamicIntegrationEventHandler
        {
            DoInternalSubscription(eventName);

            _subsManager.AddDynamicSubscription <TH>(eventName);

            StartBasicConsume();
        }
Пример #2
0
        public void SubscribeDynamic <TH>(string eventName)
            where TH : IDynamicIntegrationEventHandler
        {
            _logger.LogInformation("Subscribing to dynamic event {EventName} with {EventHandler}", eventName, typeof(TH).GetGenericTypeName());

            DoInternalSubscription(eventName);
            _subsManager.AddDynamicSubscription <TH>(eventName);
            StartBasicConsume();
        }
Пример #3
0
        public void SubscribeDynamic <T>(string eventName) where T : IDynamicIntegrationEventHandler
        {
            _logger.LogInformation($"Assinando o evento {eventName} com {typeof(T).GetGenericTypeDefinition()}");

            DoInternalSubscription(eventName);

            _subscriptionManager.AddDynamicSubscription <T>(eventName);
            StartBasicConsume();
        }
Пример #4
0
 public void SubscribeDynamic <TH>(string eventName) where TH : IDynamicIntegrationEventHandler
 {
     _subscriptionManager.AddDynamicSubscription <TH>(eventName);
 }
Пример #5
0
 public void SubscribeDynamic <TH>(string eventName) where TH : IDynamicEventHandler
 {
     DoInternalSubscription(eventName);
     _subManager.AddDynamicSubscription <TH>(eventName);
 }