public function invoke($queueName, $payload, $resultType, $timeout = 10)
    {
        $rs = $this->invokeAll(array(array($queueName, $payload, $resultType)), $timeout);
        if ($rs[0] instanceof RpcError) {
            throw new RpcErrorException($rs[0]);
        }

        return $rs[0];
    }