public Task PublishApplicationStatusSummaryAsync(FaaApplicationStatusSummary message) { TopicClient topicClient = CreateTopicClient(ApplicationStatusSummaryTopicName); var brokeredMessage = CreateMessage(message); return(topicClient.SendAsync(brokeredMessage)); }
public Task PublishApplicationStatusSummaryAsync(FaaApplicationStatusSummary message) { var topicClient = new TopicClient(_config.StorageConnectionString, Topic, RetryPolicy.Default); var brokeredMessage = CreateBrokeredMessage(message); return(topicClient.SendAsync(brokeredMessage)); }