【RabbitMQ 】rabbitmq basicReject / basicNack / basicRecover区别
区别channel.basicReject(deliveryTag,true);basic.reject方法拒绝deliveryTag对应的消息,第二个参数是否requeue,true则重新入队列,否则丢弃或者进入死信队列。该方法reject后,该消费者还是会消费到该条被reject的消息。```javachannel.basicNack(deliveryTag,false,true);```ba