/**
  * @param mixed[] $argv
  * @return mixed
  * @throws \Exception
  */
 public function handle(array $argv)
 {
     $response = new SendRequestXMLResponse();
     $task = $this->queue->pop();
     if (!$task) {
         return $response;
     }
     $root = $this->xmlFactory->createQBXML();
     $task->getRequest()->appendElementTo($root);
     $response->sendRequestXMLResult = $root->asXML();
     return $response;
 }