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