On Aug 12, 10:10 am, Steve Chu <
stv...@gmail.com> wrote:
> In MQ, If Process A take away the message X, Process B can not get it
> anymore. Check your enqueue routine, something wrong?
Hi,
Thanks for the quick response :)
It's definitely only queuing the message once (and it doesn't always
get processed twice, but often does)
All I can think of is that both process are polling the queue at
exactly the same time on occasion, but
I would have assumed there was some sort of mechanism in place to stop
the same message being picked up
twice...
I am right in thinking I don't need to do anything other than "get"
the last message from the queue (in
PHP I'm doing the following)
$value = $mq->get($queueName);
And the returned value should be removed instantly from the queue, is
this correct?
Ross