L
L
Leonid Gorshkov2021-08-31 16:11:07
RabbitMQ
Leonid Gorshkov, 2021-08-31 16:11:07

Can rabbitmq raise events?

Good afternoon. Can rabbitmq fire events at the moment a task is added, at the moment it starts/ends?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2021-08-31
@yarkin

RabbitMQ is a message broker, its task is to receive / store / send, it does not delve into the essence of such messages, everything else is on the business logic side. If the task is sent to the queue in RabbitMQ itself, then there is no point in notifying about its addition, because if someone is subscribed to the queue with tasks, RabbitMQ will immediately send him a message with the task. Notifications about the message processing phases should already be sent by the business logic itself.
(RabbitMQ has the ability to send all internal events to a given queue, but I don't think that's what you're looking for, it's more for debugging when you don't know what's going on.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question