CreateQueueInternal(
            QueueDescription queueDescription)
        {
            await this.serviceBusNamespaceManager.CreateQueueAsync(queueDescription)
            .ConfigureAwait(false);

            var physicalQueue = new ServiceBusQueueModel(
                this.serviceBusConnectionString,
                queueDescription
                );

            return(physicalQueue);
        }
Ejemplo n.º 2
0
        CreateQueueInternal(
            QueueDescription queueDescription)
        {
            await this.serviceBusNamespaceManager.CreateQueueAsync(queueDescription)
                .ConfigureAwait(false);

            var physicalQueue = new ServiceBusQueueModel(
                this.serviceBusConnectionString,
                queueDescription
            );

            return physicalQueue;
        }