protected internal override void StartListening(IMessagingRoot root, ITransportRuntime runtime)
        {
            if (!IsListener)
            {
                return;
            }

            var listener = new AzureServiceBusListener(this, Parent, root.TransportLogger, root.Cancellation);

            runtime.AddListener(listener, this);
        }
        protected internal override void StartListening(IMessagingRoot root, ITransportRuntime runtime)
        {
            if (!IsListener)
            {
                return;
            }

            if (Parent.ConnectionString == null)
            {
                throw new InvalidOperationException("There is no configured connection string for Azure Service Bus, or it is empty");
            }

            var listener = new AzureServiceBusListener(this, Parent, root.TransportLogger, root.Cancellation);

            runtime.AddListener(listener, this);
        }