Spring Boot - Messaging
What is wrong with this Spring Boot RabbitMQ listener method for handling dead letter messages?
@RabbitListener(queues = "dlq")
public void handleDlq(String message) {
// process dead letter message
throw new RuntimeException("error");
}
Options:
