Negative Acknowledgement to RabbitMQ Queue to Re-Queue the Message using Spring AMQP
问题 I have an application which uses spring AMQP for consuming and producing messages to other application. I have a scenario where some of the exception occurred i need to re-queue back to RabbitMQ. For some exceptions i need to ignore (Basically i need to ignore the message no need to requeue) Currently in below code, i have set the configuration as factory.setDefaultRequeueRejected(false); But my requirement is to dynamically reject for some messages and re-queue back to RabbitMQ for some