using System.Threading.Tasks; namespace Volo.Abp.AzureServiceBus; public interface IAzureServiceBusMessageConsumerFactory { /// /// Creates a new . /// Avoid to create too many consumers since they are /// not disposed until end of the application. /// /// /// /// /// IAzureServiceBusMessageConsumer CreateMessageConsumer( string topicName, string subscriptionName, string connectionName); }