Z
Z
zvonok13372018-10-30 16:25:55
RabbitMQ
zvonok1337, 2018-10-30 16:25:55

How to send a message in RabbitMQ not to everyone, but only to one subscriber?

Greetings!
Bottom line: there are several identical applications subscribed to the same queue. How in rabbitMQ to make sure that the message is not transmitted to everyone, but to any of them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2018-10-30
@zvonok1337

The principle of the queue in RabbitMQ is that only one subscriber receives a message, so if you really have one queue (and not a subscription from each application to the exchanger, which creates a separate queue for each subscriber), then there should be no problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question