public void ProcessQueueMessage(Models.QueueMessage message) { _logger.Debug("Processing message from queue"); Process.Queue queue = new Process.Queue(message, _backend, _logger); queue.Process(); }
// [StorageAccount(Constants.Queue_Storage_Account)] public async void Run( [QueueTrigger(Constants.Queue_Name)] Azure.Reaper.Lib.Models.QueueMessage message ) { await Task.Run(() => ProcessQueueMessage(message)); }