[rabbitmq-discuss] RabbitMQ, push a script
Emile Joubert
emile at rabbitmq.com
Fri Oct 26 15:26:09 BST 2012
Hi,
On 25/10/12 17:47, Desta Haileselassie Hagos wrote:
> I have one more question, I want my queues to be read by many users so
> that the queue will not be empty once one user has read the messages.
>
> Is there any way to preserve the messages for all users or for a
> specific period of time? Is this supported in RabbitMQ?
It is possible to expire unread messages after a period of time:
http://www.rabbitmq.com/ttl.html#per-queue-message-ttl
But that is probably not what you want. If you want a message to reach
multiple consumers then it is better to declare a separate queue for
each consumer. This is the pattern in tutorial 3:
http://www.rabbitmq.com/tutorials/tutorial-three-python.html
-Emile
More information about the rabbitmq-discuss
mailing list