Esempio n. 1
0
        public DeliverToServiceBusQueue(string connectionString, string queueName, bool createQueueIfItDoesNotExist = true)
        {
            // handles create if not exists
            var queue = ServiceBusQueuePublishOperator <MsgType> .GetQueue(connectionString, queueName, createQueueIfItDoesNotExist);

            sender = new ServiceBusClient(connectionString).CreateSender(queueName);
        }
Esempio n. 2
0
 public ServiceBusQueueSubscriptionOperator(ILocalSwitchboard switchBoard, string connectionString, string queueName, bool createQueueIfItDoesNotExist, int maxDequeueCount = DefaultDequeueMaxCount)
     : this(switchBoard, ServiceBusQueuePublishOperator <T> .GetQueue(connectionString, queueName, createQueueIfItDoesNotExist), maxDequeueCount)
 {
 }
Esempio n. 3
0
 public ServiceBusQueueSubscriptionOperator(LocalConcurrencyType concurrencyType, string connectionString, string queueName, bool createQueueIfItDoesNotExist, uint concurrency = DefaultConcurrency, int maxDequeueCount = DefaultDequeueMaxCount)
     : this(new LocalSwitchboard(concurrencyType, concurrency), ServiceBusQueuePublishOperator <T> .GetQueue(connectionString, queueName, createQueueIfItDoesNotExist), maxDequeueCount)
 {
 }