R
R
romaaa322019-08-31 11:25:36
PHP
romaaa32, 2019-08-31 11:25:36

How not to queue with the same names?

How can I make sure that messages with the same name do not get into the queue?
Is php-amqplibthere a tool for such a task?
Maybe I'm not asking the right question, because I can not find the answer to this question in Google)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Tikhonov, 2019-08-31
@romaaa32

There is no concept of a message name or identifier in the AMQP protocol. You will have to add the uuid to the body and manage the uniqueness from the outside (for example, put locks in Redis)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question