On 04/25/2012 02:41 PM, [email protected] wrote:

Hi All,

The issue we (I am working with Luiz) are trying to solve is that we need a durable queue 
subscribed to  a topic exchange.  We are calling this the UserQueue.  This queue needs to 
be read concurrently by the same human user connecting with multiple "devices" 
(web client, Android, desktop).  These devices must receive all of the messages on the 
queue.

Currently we are using RabbitMQ and it is not possible to have two devices 
connected concurrently to the same queue that receive all of the messages.

Round robin is not an option as we need all connected devices to receive all of 
the messages at the same time.

Using temporary queues to subscribe to the exchange is not an option as we need 
to receive messages that were published when the  human user was not logged on 
with any device.

Here's our idea;

TopicExchange ->  UserQueue (durable)<-- Multiple Concurrent Users (receive all 
messages)

We are looking at using browse to enable this functionality. Does this seem 
doable?

Receiving the messages through two (or more) browsers is certainly possible. The problem as I see it is how you then remove these messages.

One option that is possible using AMQP 0-10 is to have one of the browsers acquire and accept the message. This is only possible using a client library that directly exposes the 0-10 commands which is less than ideal.

An alternative is to start a separate consumer to actually consume the messages that have been processed.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to