Issues

ZF-7823: Prioritize Messages

Issue Type: Improvement Created: 2009-09-10T09:30:00.000+0000 Last Updated: 2012-11-20T21:37:23.000+0000 Status: Open Fix version(s): Reporter: Jason Brumwell (baxter) Assignee: None Tags: - Zend_Queue

Related issues: Attachments:

Description

I'm using Zend_Queue as an emailer through a cron job and would like to be able to set the priority of the message that are being received and sent to the queue. For my specific situation I would want to classify registration validation emails, auction outbid notifications etc as of higher importance then newsletter / comment notifications etc.

I'm sure priority messaging could be utilized in a number of other scenarios as well.

Cheers,

Jay

Comments

Posted by Justin Plock (jplock) on 2009-09-10T11:23:25.000+0000

The adapters don't support this natively. You'd be better off extending the Db class and modifying the table schema to include a priority column then adjusting the queries to pull back the higher priority messages first.

Posted by Jason Brumwell (baxter) on 2009-09-10T13:29:22.000+0000

That is what I'm currently doing, just wasn't sure if there was a way to add support for it. Not familiar with the other adapters.

Posted by Christophe Gesché (moosh) on 2010-01-03T13:24:11.000+0000

Priority and dependency are also both of my need on DB

I tell to work on it.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts