It is not a mistake for the RabbitMQ client to send a message to a broker who has no restrictions associated with it in order to receive the message. RabbitMQ will quietly drop it, and the client will not become wiser. If you do not have queues interested in your messages, the broker has no other options available to him.
However, you can make RabbitMQ complain if the message ends silently by setting the flag to mandatory . I don't know if its Spring AMQP interfaces support it, but it is certainly available in the RabbitMQ Java client library.
source share