Reputation: 21245
If I want to debug why my listeners (annotated with @RabbitListener
) aren’t being triggered, what’s a class in spring.amqp.rabbit
I should place a breakpoint on for debugging the issue? In other words, is there a method that's responsible for routing to the listeners?
Upvotes: 1
Views: 47
Reputation: 121292
Yes, there is one: AbstractMessageListenerContainer.invokeListener()
.
But you really should be sure that you haven't missed to add @EnableRabbit
and there is really some messages in the queue to listen.
Upvotes: 1