Q. Which annotation is used in Spring Boot to listen to a RabbitMQ queue?
β
Correct Answer: (A)
@RabbitListener
Explanation: @RabbitListener is used in Spring Boot to define methods that consume messages from a queue.