Oh, I've overseen name option in config array...

On Mon, Aug 22, 2011 at 1:27 PM, Fred Garlov
<[email protected]> wrote:
> Hello,
>
> in zend queue there is a method createQueue, which of cource create as
> much queues as you want (DB backend). But how can I use other queues
> than first one? I"m always getting first queue and documentation
> doesn't show how to use multiple queues.
>
>        $queue = new Zend_Queue('Db', $config);
>        $queue->createQueue('first', 1);
>        echo   $queue->getName();
>
>
>
>        $secondQueue = new Zend_Queue('Db', $config);
>        $secondQueue->createQueue('second', 1);
>        echo $secondQueue->getName() //prints 'first'
>
>
>
> Is there also possibility to print all jobs currently processing?
>
>
> Regards
> Fred
>

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to