public Task PublishApplicationStatusSummaryAsync(FaaApplicationStatusSummary message)
        {
            TopicClient topicClient = CreateTopicClient(ApplicationStatusSummaryTopicName);

            var brokeredMessage = CreateMessage(message);

            return(topicClient.SendAsync(brokeredMessage));
        }
Example #2
0
        public Task PublishApplicationStatusSummaryAsync(FaaApplicationStatusSummary message)
        {
            var topicClient = new TopicClient(_config.StorageConnectionString, Topic, RetryPolicy.Default);

            var brokeredMessage = CreateBrokeredMessage(message);

            return(topicClient.SendAsync(brokeredMessage));
        }