[rabbitmq-discuss] Dropping out messages from a queue

GAGAN ARORA gaganarora.itm at gmail.com
Fri Jul 3 15:08:27 BST 2009


Hi
I am developing a system in which a user will connect to two servers. On
connecting to first server he will become online and will send his presence
update but he will receive presence updates only once he is connected to
other server as his consumer subscribes to his queue after connecting to
second server.
I am using one exchange and one queue per user. So if one user comes online
then he will send his presence update to his exchange and users bound to
that will receive updates.
I need to configure a queue which would hold messages for user who has just
came online until he is connected to other server. After connecting to
second server all messages will be consumed. All messages sent to queue will
be dropped once user goes offline.

Is it possible?

Thanks
Gagan Arora
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090703/60c60f0b/attachment.htm 


More information about the rabbitmq-discuss mailing list