public async Task Run([ServiceBusTrigger( ServiceBusConstants.TopicNames.JobNotifications, ServiceBusConstants.TopicSubscribers.UpdateJobsOnCompletion, Connection = ServiceBusConstants.ConnectionStringConfigurationKey)] Message message) { try { _correlationIdProvider.SetCorrelationId(message.GetCorrelationId()); await _jobManagementService.ProcessJobNotification(message); } catch (Exception exception) { _logger.Error(exception, $"An error occurred getting message from topic: {ServiceBusConstants.TopicNames.JobNotifications}"); throw; } }