/** * Create a queue. Returns the ID of the created queue (typically the URL). * It may take some time to create the queue. Check your vendor's * documentation for details. * * @param string $name * @param array $options * @return string Queue ID (typically URL) */ public function createQueue($name, $options = null) { try { $queue = $this->_storageClient->createQueue($name, $options); return $queue->Name; } catch (WindowsAzureException\ExceptionInterface $e) { throw new Exception\RuntimeException('Error on queue creation: '.$e->getMessage(), $e->getCode(), $e); } }