interface RejectMessageExceptionInterface implements Throwable
If something goes wrong while consuming and handling a message from the AMQP broker, there are two choices: rejecting or re-queuing the message.
If the exception that is thrown by the bus while dispatching the message implements this interface, the message will be rejected. Otherwise, it will be re-queued.
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Messenger/Transport/AmqpExt/Exception/RejectMessageExceptionInterface.html