A
A
akazakou2014-02-07 12:03:10
Message Queues
akazakou, 2014-02-07 12:03:10

RabbitMQ. Is it possible to pick up only some messages from the queue?

The application architecture is built as follows. There is one messaging point that propagates to all attached queues the given message, specified by the routing_key. One queue implies that it contains messages for a specific user. There was a necessity to add "type" of the message. Those. if earlier it was just text messages, now commands should still come to the application, or commands to the Web interface of the site.
The question is: is it possible to somehow identify messages by type and take messages from the queue, basing the selection from the queue on the type of message?
Why do not want to create additional queues? Because at the moment there are already about 8,000,000 queues, and if we add two more additional message types, we will already get 24,000,000 queues, which you yourself understand is not good and will triple the load on the system.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
himik, 2014-02-07
@himik

no.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question