[rabbitmq-discuss] RabbitMQ Message Publishing and Consuming with Database Operations
alexis at rabbitmq.com
Fri Aug 13 14:50:35 BST 2010
Jigar's question is fine.
Key to it though is this phrase "since the messages are already in the
queue". So, the question is about performing a select operation an
existing queue, seeing it as a store of messages. That's a database
operation. As Matthew points out, this is further complicated by our
queues being FIFO. But it would also be true for other ordered
structures: the select is asking for an out of order retrieval based
on message content (ie. not based on routing metadata).
In instead the question where about to set up a content based
subscription, then the answer would be to create a content based
routing exchange. But I don't think that's what Jigar meant.
In general, this area is worth further exploration, but we don't have
something OOTB for it. For a quick solution, a database would
suffice. Unless I missed something...
On Fri, Aug 13, 2010 at 2:39 PM, Matthew Sackman <matthew at rabbitmq.com> wrote:
> On Fri, Aug 13, 2010 at 03:35:19PM +0200, Holger Hoffstaette wrote:
>> > I think it depends which database you are using. If you want to use C#
>> He doesn't want a database, he's asking how to add a custom "ID" (sequence
>> number?) header and then do a "selective receive" aka get/consume matching
>> that ID.
> Right, and I've explained that a queue is a FIFO structure and you can't
> do a selective receive or any such query operations.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss