コード例 #1
0
        public DeliverToServiceBusTopic(string connectionString, string topicName, string subscription, bool createQueueIfItDoesNotExist = true)
        {
            // handles create if not exists
            var queue = ServiceBusTopicPublishOperator <MsgType> .GetTopic(connectionString, topicName, subscription, createQueueIfItDoesNotExist);

            sender = new ServiceBusClient(connectionString).CreateSender(topicName);
        }
コード例 #2
0
 public ServiceBusTopicPublishOperator(string connectionString, string topicName, string subscription, bool createTopicIfItDoesNotExist)
     : base(ServiceBusTopicPublishOperator <T> .GetTopic(connectionString, topicName, subscription, createTopicIfItDoesNotExist))
 {
 }
コード例 #3
0
 public ServiceBusTopicSubscriptionOperator(ILocalSwitchboard switchboard, string connectionString, string topicName, bool createTopicIfItDoesNotExist)
     : base(switchboard, ServiceBusTopicPublishOperator <T> .GetTopic(connectionString, topicName, createTopicIfItDoesNotExist), DefaultDequeueMaxCount)
 {
 }
コード例 #4
0
 public ServiceBusTopicSubscriptionOperator(LocalConcurrencyType concurrencyType, string connectionString, string topicName, bool createTopicIfItDoesNotExist)
     : base(new LocalSwitchboard(concurrencyType, DefaultConcurrency), ServiceBusTopicPublishOperator <T> .GetTopic(connectionString, topicName, createTopicIfItDoesNotExist), DefaultDequeueMaxCount)
 {
 }