/// <summary> /// Registers the subscriber. /// </summary> /// <param name="subscriberType">Type of the subscriber.</param> public void RegisterSubscriber(string subscriberType) { IMessageBusBuilder builder = new MessageBusBuilder(this.logController, this.connectionStrings, this.serviceBusConfiguration); IMessageSubscriber subscriber = builder.BuildSubscriber(subscriberType); if (subscriber != null) { subscriber.Initialize(serverContext); subscribers.Add(subscriber); } }