public function executeQueue(Queue $queue, $max, $timeout = 30)
    {
        foreach($this->receiveQueueMessages($queue, $max, $timeout) as $message) {
            try {
                $message->execute();
                $this->deleteMessage($message);
            } catch(\Exception $e) {
                $this->log($message, $e);
            }
        }
    }