Hi Alex,
On 10/06/2010 08:56 AM, Alex Balashov wrote:
Do (key, value) pairs that are mq_add()'d have to
be unique?
No, it is no constraint to be unique.
If not, what exactly is the reason for the existence of a 'key' and a
'value' as opposed to just
mq_add("some_q", "some data");
Easier way to detect is what you looking for. If the first in queue is
not, you can re-queue it. Key is normally a short identifier. Future
plans are to be able to fetch items based on key as well.
Regards,
Ramona