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);
        }
 public ServiceBusTopicPublishOperator(string connectionString, string topicName, string subscription, bool createTopicIfItDoesNotExist)
     : base(ServiceBusTopicPublishOperator <T> .GetTopic(connectionString, topicName, subscription, createTopicIfItDoesNotExist))
 {
 }
Example #3
0
 public ServiceBusTopicSubscriptionOperator(ILocalSwitchboard switchboard, string connectionString, string topicName, bool createTopicIfItDoesNotExist)
     : base(switchboard, ServiceBusTopicPublishOperator <T> .GetTopic(connectionString, topicName, createTopicIfItDoesNotExist), DefaultDequeueMaxCount)
 {
 }
Example #4
0
 public ServiceBusTopicSubscriptionOperator(LocalConcurrencyType concurrencyType, string connectionString, string topicName, bool createTopicIfItDoesNotExist)
     : base(new LocalSwitchboard(concurrencyType, DefaultConcurrency), ServiceBusTopicPublishOperator <T> .GetTopic(connectionString, topicName, createTopicIfItDoesNotExist), DefaultDequeueMaxCount)
 {
 }